Skip to content

Learning Perl 6

  • About
  • Book
  • Downloads
  • Events
  • Participate
  • Site
  • Unresolved

Category: Types

Coercion types in signatures don’t work and won’t for awhile

Posted on March 14, 2018 by brian d foy

I wanted to make a method that took an integer or a string that looked like an integer. I thought a coercion type would work nicely for that. The Int […]

Read more
Avoid This Feature / Signatures / Subroutines / Types 2 comments

Quick Tip #19: Build reusable data types

Posted on December 4, 2016 by brian d foy

Perl 6 lets you constrain variable values with types, but you don’t have to limit yourself to the built-in types. Once defined, these act like the built-in types. Here are […]

Read more
Kickstarter Tips / Types 3 comments

Quick Tip #9: User-defined data types

Posted on November 24, 2016 by brian d foy

Perl 6 has “gradual typing”. I can constrain values when I like, and let them run free otherwise. User-defined data types are one of the Perl 6 features that excite […]

Read more
Kickstarter Tips / Types Leave a comment
Learning Perl 6

Recent Posts

  • Rakudo Star 2018.10 is in Chocolatey
  • Preview Learning Perl 6 in Google Books
  • Update your Kickstarter reward survey
  • The book cover
  • Table of contents

Archives

Categories

Links

Book errata
Google Books preview
O’Reilly Media listing


Perl 6 Design Docs (dated)
Perl 6 Docs
Learn Perl 6 in Y Minutes
Perl 6 modules
Rosetta Code examples
Project Euler examples
Perl 6 Examples
Perl 6 Roast (test suite examples)

Powered by WordPress and Merlin.