* Sebastien Carlier [EMAIL PROTECTED] [020517 17:17]:
I meant do you have an example of your working code.
Sure.
I'm sorry if this is a bit off-topic, but I got the following error
when compiling Sebastien's code (with my ghc-5.02.3-2mdk):
SubProcess.lhs:5:
failed to load interface
Hi, enlightenment much appreciated for my newbie question --
to achieve:
append' [ [1, 2], [3, 4], [5] ] 6 - [ [1, 2], [3, 4], [5, 6] ]
append' [ ['1', '2'], ['3'] ] '4' - [ ['1', '2'], ['3', '4'] ]
append' [ [True], [True] ] False - [ [True], [True, False] ]
so I (naively) write:
18) append'
* Ch. A. Herrmann [EMAIL PROTECTED] [020516 21:38]:
Hi,
JiJie 20) append' x:xs y = [(init x:xs)] ++ [(tail xs)++[y]]
function application (blank) binds stronger than :,
thus you should write
append' (x:xs) y = ...
-- so I added the parenthesis:
18) append' :: [[a]] - a -
Good day everyone, I was fiddling around with this tiny echo
client/server haskell program from 'The Great Language Shootout'
site (http://www.bagley.org/~doug/shootout/) and got stuck.
The code (attached) has been reformatted with minimal API tweak
(mkPortNumber, writeSocket, readSocket) to
Good day everyone, I'm a haskell newbie trying to seeking advice to
advance myself.
My backgrounds are:
* As a non-CS student, I have absolutely no knowledge of lambda calculus
* And unfortunately I have to make painful decision on spending $30
on a book or three days' meal
While my goals