This file contains 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
import System.IO | |
import System.Environment | |
import Text.Printf | |
import Data.Char | |
import Data.Set | |
import Data.List | |
import Text.Regex | |
import Text.Regex.Posix | |
printList :: [String] -> IO () |
This file contains 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
var s = require('stream'); | |
var mys; | |
/* ======================================================== | |
Error callback first, throw | |
======================================================== */ | |
mys = Object.create(s.Readable.prototype); | |
mys._read = function(size) { | |
this.emit('error', new Error('test')); |
NewerOlder