Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created April 16, 2016 10:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dogbert17/6deed8b9776bacb444b18faaae08ebf1 to your computer and use it in GitHub Desktop.
Save dogbert17/6deed8b9776bacb444b18faaae08ebf1 to your computer and use it in GitHub Desktop.
Additions to the method coercion table in Cool.pos
The following table summarizes the methods that Cool provides, and what type they coerce to:
...
chomp Str
chop Str
codes Str
Int Int
Num Num
Rat Rat
Real Real
UInt UInt
...
btw, shouldn't this table be sorted in some manner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment