Re: [Haskell-cafe] Compiling arbitrary Haskell code

2013-10-14 Thread Daniil Frumin
For those who are interested (and I already chatted with Chris on IRC), I've implemented a pastebin that is able to (among some other things) to run arbitrary Haskell code: http://paste.hskll.org/ I've also developed a 'restricted-workers' library for managing processes that should run in secured

Re: [Haskell-cafe] Lifting IO actions into Applicatives

2013-10-07 Thread Daniil Frumin
Isn't it the case that there could be more than one natural transformation between functors? On Tue, Oct 1, 2013 at 10:00 PM, John Wiegley jo...@fpcomplete.com wrote: Yitzchak Gale g...@sefer.org writes: In fact, it even makes sense to define it as FunctorIO, with the only laws being

[Haskell-cafe] interactive-diagrams: call for suggestions

2013-09-06 Thread Daniil Frumin
to make collections of his pastes. - Stars. Logged in users may star pastes they like. Please report your suggestions here or on GitHub [2]. Thanks! [1] https://gist.github.com/co-dan/437e9694563c0c13dd8e [2] https://github.com/co-dan/interactive-diagrams/issues/16 -- Sincerely yours, -- Daniil

Re: [Haskell-cafe] Tutorial on JS with Haskell: Fay or GHCJS?

2013-09-04 Thread Daniil Frumin
Hi! On Sep 4, 2013, at 13:02, Niklas Hambüchen m...@nh2.me wrote: Hi, I'm also interested in that. Have you already evaluated haste? It does not seem to have any of your cons, but maybe others. What I particularly miss from all solutions is the ability to simply call parts written in

Re: [Haskell-cafe] Fwd: [Haskell-beginners] Monad instances and type synonyms

2013-04-14 Thread Daniil Frumin
Maybe you can try curried definition: type Adjustment = (-) SaleVariables I had a similar problem awhile ago. Hth — On Sun, Apr 14, 2013 at 9:11 AM, Christopher Howard christopher.how...@frigidcode.com=mailto:christopher.how...@frigidcode.com; wrote: I asked this question in

Re: [Haskell-cafe] Fwd: [Haskell-beginners] Monad instances and type synonyms

2013-04-14 Thread Daniil Frumin
Oh, I see that I'm late to the party, sorry, wasn't able to push my mail for some time  — On Sun, Apr 14, 2013 at 3:09 PM, Daniil Frumin difru...@gmail.com wrote: Maybe you can try curried definition: type Adjustment = (-) SaleVariables I had a similar problem awhile ago. Hth — On Sun