People,
is it possible to arrange a connected output and input (with something
like a socket) in a middle of the Haskell function?
Consider the example of sorting an integer list:
sortInt :: [Int] - [Int]
sortInt js =
let callString = sortForeign( ++ (show js) ++ )
I think you're talking about RPC, Remote Procedure Call. A search
for that term turns up http://www.haskell.org/haskellwiki/HaXR
For things like this, it would make sense to subscribe to haskell-cafe,
and post questions there - it's a much more active list that's devoted
to ideas about Haskell