Skip to content

Instantly share code, notes, and snippets.

View omeryavuz's full-sized avatar

omer yavuz omeryavuz

View GitHub Profile
#!/bin/bash
# To uninstall all gems
GEMS=`gem list --no-versions`
for x in $GEMS ; do gem uninstall $x; done
# In a future revision it would be
# nice to prevent all the prompts but it's
# still faster than the alternative as it is

Testing type ops in Loom

is, as, instanceof return expected results on literal values, but not when the same values are passed into a function and the type ops are applied to the function argument variables. NOTE: when testing with trace() be aware that Sprint 30 (and earlier?) contained a bug that caused trace to print all Booleans as true. This is resolved in SDK v1.1.2738 (and presumably Sprint 31).

(results below)

TypeChecker.ls