Programming with Moose/Type system

From Wikibooks, open books for an open world
< Programming with Moose
Jump to: navigation, search

Gotchas[edit]

  • 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]"