Skip to content

Comment on Coding Intentionally in Bash Grainsparent

Comments

    map({ $_ %% 2 ?? $_ !! 2**(n-1) })
Ternaries in Perl 6 are done with ?? and !!, not with ?? and ::

My fingers hate that and I always, always get it wrong. Always.

Fortunately the error messages are very good.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.