#haskell - Wed 14 Mar 2007 between 20:56 and 21:01

NY Lost Funds



donsGHCi on cygwin: When running GHC under a Cygwin shell on Windows, Ctrl-C sometimes doesn't work. A workaround is to use the rlwrap program to invoke ghci
emkWe need to get ourselves one of those for Haskell.
shaprI like the Pragmatic Programmers.
I reviewed a coupla their books.
emkwchogg: Yup. Nicely presented, and I can't wait for the OTP chapters.
donsemk, indeed. or two or three.
Uncountabledons: but it freezes on ctrl+c no matter if i start it from cygwin or not
kc5tjalulu.com looks like a nice publish on demand service. I haven't used it, but was going to when I finished my ROM firmware walkthrough book for the Kestrel.
donsUncountable: what version of windows?
Uncountablexp sp2
donswhich ghc versoin?
procyon__Uncountable: ghci 6.6 on Windows Vista 64. Entered [1..] at prompt. Enter key. Immediate C-c. It froze tight.
Uncountable6.6
donsah very interesting!
sorearprocyon__: System reset required?
donsthere were some changes to thre threaded runtime, and SimonM said they were tricky, involving ^C and getting things to halt properly on windows
kc5tjaIIRC, Windows systems check for CTRL-C only when performing I/O with the console window. Might need to periodically interject (null) I/O with the console.
procyon__sorear: No. But no getting the console window back.
emkdons: Someday, I dream of writing a book about metaprogramming ("programs that write programs"). But what's the audience for a book that abuses everything from Lisp macros to SmallTalk metaclasses to Haskell monads? ;-)
wchoggemk: I'd be in that audience for sure.
shapremk: Larger than you might think.
emk: #haskell keeps getting larger.
kc5tjaemk: Don't forget Forth's immediate words too! :)
shaprAnd some people only show up on #haskell once or twice a year.
emkkc5tja: Fair enough!
wchoggemk: Also, why do you count monads under metaprogramming?
shapremk: I think you should call it Gdel, Escher, Church
kc5tja: only-if-zero: postpone 0= postpone if ; immediate
shaprwchogg: I think laziness is all about self modifying programs.
procyon__Oh, and on the GHCi freeze: was running natively, not under cygwin.
kc5tja: foo blah @ only-if-zero: do something here then ;
;)
emkwchogg: Well, a value of type "IO a" is basically a program, and monads allow you compute over values of type "IO a". It's a strange perspective, but not a bad one...
Uncountableyeah, it freezes also if you try ctrl+break
sorearemk: don't forget TH
wchoggshapr: Not sure if I see where you're going with that idea.
procyon__emk: You might get a wider audience with "Church is not just for Hoare's"
actionemk groans
emkgroans
shaprprocyon__: yargh
wchoggAmidst the groaning, I'd like to say that was really good.

Page: 5 12 19 26 33 40 47 54 61 68 75 82 89 96 103 110 117 124 131 

IrcArchive

NY Lost Funds