flapjax on hackage

6 views
Skip to first unread message

titto

unread,
Sep 2, 2009, 11:00:38 AM9/2/09
to Flapjax
Hi,

I wondered why the flapjax compiler and related haskell packages
(WebBits, etc.) were not on hackage.

It's a pity, that would spread the word about flapjax in the rather
large Haskell community and make it much more likely to get other
people involved in the development.

Regards,

titto

Arjun Guha

unread,
Sep 5, 2009, 10:23:32 AM9/5/09
to fla...@googlegroups.com
WebBits, etc. are on Hackage, though Flapjax itself is not. I'll
consider adding it sometime in the future, when the implementation has
stabilized a bit.

Arjun

Shriram Krishnamurthi

unread,
Sep 5, 2009, 1:28:17 PM9/5/09
to fla...@googlegroups.com
Hi titto,

Flapjax is not a Haskell project. Flapjax is its own project.

We currently happen to use Haskell for some tasks, but that is largely
incidental and a matter of some individual tastes.

Shriram

titto

unread,
Sep 7, 2009, 4:19:56 AM9/7/09
to Flapjax
You are correct, I had not spotted WebBits and JsContracs but they are
there.

However, JsContracts fails to install:

Preprocessing library JsContracts-0.4...
Preprocessing executables for JsContracts-0.4...
Building JsContracts-0.4...

src/BrownPLT/JavaScript/Contracts/Template.hs:27:7:
Could not find module `BrownPLT.JavaScript.Crawl':
Use -v to see a list of the files searched for.
cabal: Error: some packages failed to install:
JsContracts-0.4 failed during the building phase. The exception was:
exit: ExitFailure 1


And Flapjax.cabal, also refers to WebServer, that I do not see either
on hackage or in the flapjax repository:

cabal: cannot configure Flapjax-2.0.1. It requires WebServer >=1.2
There is no available version of WebServer that satisfies >=1.2
/usr/local/lib/ghc-6.10.3/./package.conf:

Regards,

titto

Arjun Guha

unread,
Sep 7, 2009, 12:25:34 PM9/7/09
to fla...@googlegroups.com
That's a versioning issue with JsContracts. I'll update it soon.

The haskell-web package is at:

github.com/arjunguha/haskell-web

It's a silly dependency that I added for an experiment. haskell-web
is a waste of time and is never going on Hackage, so I'll remove it
from any Flapjax release.

Consider using the the source for the current release of Flapjax:

http://github.com/arjunguha/flapjax/downloads

It doesn't depend on haskell-web and has been tested on major browsers.

Arjun

Pasqualino Assini

unread,
Sep 10, 2009, 12:21:47 PM9/10/09
to fla...@googlegroups.com
2009/9/7 Arjun Guha <arjun...@gmail.com>:

>
> Consider using the the source for the current release of Flapjax:
>
> http://github.com/arjunguha/flapjax/downloads
>
> It doesn't depend on haskell-web and has been tested on major browsers.

Thanks, I am using it now.

However, there seems to be a problem with flapjax.debug.js.

When loaded, it gives an error:

(line 4759) insertValueB is not defined

Regards,

titto

Arjun Guha

unread,
Sep 11, 2009, 3:31:33 PM9/11/09
to fla...@googlegroups.com
I've fixed issues with flapjax.debug.js in Github. (I also updated
JsContracts and pushed it to Hackage.)

I don't know about the flapjax.debug.js that came with the Flapjax-2.0
release. It's undocumented, experimental, and largely untested.

We may have grand plans for it in the future. At the moment, it's a
proof of concept that doesn't need to work well.

Arjun
Reply all
Reply to author
Forward
0 new messages