Created
September 24, 2012 21:37
-
-
Save refractalize/3778560 to your computer and use it in GitHub Desktop.
Async operator works in pogo REPL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zap ~ λ pogo | |
> fs = require 'fs', nil | |
undefined | |
> fs.read file! 'stuff.txt' 'utf-8' | |
Error: ENOENT, open 'stuff.txt' | |
> fs.write file! 'stuff.txt' 'contents of stuff.txt' | |
undefined | |
> fs.read file! 'stuff.txt' 'utf-8' | |
'contents of stuff.txt' | |
> yay! | |
ReferenceError: yay is not defined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Will be coming out soon in pogo version 0.0.2, or if you can't wait, checkout the async branch.