Programming with Moose/Type system

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Gotchas[edit | edit source]

  • Overloading
  • Maybe[Foo] 'Foo | Undef': One permits coercing to Undef, one doesn't.
13:42 <@mst> EvanCarroll: you can do a coercion on "Maybe[Foo]"