hi,
tl;dr: i propose this patch to Text/JSON/String.hs and would like to
know why it is needed:
@@ -375,7 +375,7 @@
where
go s1 =
case s1 of
- (x :xs) | x '\x20' || x '\x7e' - '\\' : encControl x (go xs)
+ (x :xs) | x '\x20' - '\\' : encControl x (go xs)
(''
hi,
how to use Language.Haskell.Interpreter.setImports?
i use it like:
setImports [My.Module]
so that my interpreted modules don't need to:
import My.Module
But i still get:
Not in scope: data constructor `MyType'
What am i doing wrong?
Thanks in advance.
have fun
martin
guess there is no way to add the import to the
'My.Interpreted.Module' for convenience.
Sorry for the noise.
have fun
martin
On 21.12.2012 00:35, Martin Hilbig wrote:
hi,
how to use Language.Haskell.Interpreter.setImports?
i use it like:
setImports [My.Module]
so that my interpreted
imports. So, I often do:
loadModules [MyPrelude]
setTopLevelModules [MyPrelude]
And stick all of the things that I want to be in scope into MyPrelude.hs.
-Michael
On Thu, Dec 20, 2012 at 3:35 PM, Martin Hilbig li...@mhilbig.de
mailto:li...@mhilbig.de wrote:
hi,
how to use
, setImports,
setTopLevelModules helped me :/
have fun
martin
That file can just consist of import
OtherPackage.MyPrelude.
-Michael
On Thu, Dec 20, 2012 at 4:12 PM, Martin Hilbig li...@mhilbig.de
mailto:li...@mhilbig.de wrote:
oh that's neat!
but what to do if MyPrelude is provided
hi,
i'm using the nice levmar package like this [1].
why is there such a big difference in 'infNorm2E' between using/not
using the Jacobian?
thanks in advance
martin hilbig
[1]: http://hpaste.org/68537
___
Haskell-Cafe mailing list
Haskell-Cafe
hi,
try it this way:
http://gist.github.com/501951
note the type annotations and the added req param include_docs=true for
getAllDocs.
the first error is created by ghci, since it dont know the specific type
Database.CouchDB :t runCouchDB' $ getDoc (db test) (doc xyz)
runCouchDB' $ getDoc
hi,
if been thinking about an haskell interpreter to, because of erlang's
otp. its syntax is a mess, but its scalability is win.
since erlang runs in its vm (interpreted) is there a need for a real
haskell interpreter, or can there be a compiled haskell/otp with
hotswapping, scaling and
On 12.07.2010 09:25, Ivan Lazar Miljenovic wrote:
A couple of points I meant to make here but forgot (I was busy hacking
on this and my other three graph-related packages for over a week now,
and especially this past weekend it cut into my sleeping...):
* Apart from bug-fixes, I don't intend on
hi,
On 25.06.2010 11:07, corentin.dup...@ext.mpsa.com wrote:
Another couple of reflexions (sorry for monopolizing):
1. Since i am making a Nomic game, players will have to submit rules. These
rules will be written in a sub-set of haskell.
Instead of writing my own reader/interpreter, i'd
hi,
i tried this too, but i did not get it. a very nice workaround is to use
hint [1].
have fun
martin
[1]: http://hackage.haskell.org/package/hint
On 20.05.2010 20:05, Phyx wrote:
I was wondering how to forcibly quiet down the API. I have a custom
handler in place, but when I call the
Malformed JSON: invalid token in this context not\]
test: stdin: hGetLine: end of file
have fun
martin hilbig
[1]: http://hackage.haskell.org/package/json
[2]: http://friendpaste.com/3IvnChRMoczf0mIKpOtrYE
___
Haskell-Cafe mailing list
Haskell-Cafe
hi, i'm writing a Haskell View Server for CouchDB.
it communicates with couchdb over stdin and stdout. it gets JSON encoded
haskell code, compiles it (like on
http://www.haskell.org/haskellwiki/GHC/As_a_library), gets values, runs
the given code over the given values and writes the results
13 matches
Mail list logo