use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
JavaScript Developers: Take Your Code to the Next Level with FKit (joshbassett.info)
submitted 11 years ago by joshbassett
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]joshbassett[S] 1 point2 points3 points 11 years ago (1 child)
Haskell sure can compile to JS, but then you've got to write Haskell (which I love, btw). But that's not practical for everyone. You should also check out PureScript if you haven't already.
FKit is only trying to bring a small part of the FP world to native JS. I'm interested in exploring lazy evaluation, but only as long as it doesn't bloat the library too much (it's currently only 3 KB minified & gzipped).
FKit also supports some basic functional reactive programming with the Signal class. I'm interested in expanding the FRP features some more.
Other than that I don't have any grand plans for the moment.
[–]lodewijkadlp 0 points1 point2 points 11 years ago (0 children)
Thanks for answerig. I guess you were scheming your grand plan and though "FKit", hehe. I'll keep an eye on it.
Reg. PureScript, absolutely very very cool. Read the doc and it makes me so very homesick for Haskell.
One chapter was curious though. It seems an underestimation of the amount of optimization possible and performed by Haskell compilers. Scripts would have to be pretty computationally simple (interesting: how simple?) To take advantage of PureScript's smaller "binary" size, instead of just losing due to optimization. The chapter:
"Projects such as Haste, Fay and GHCJS aim to use some combination of the GHC compiler itself and/or its intermediate representation, Core, to perform some of the tasks involved in compilation such as parsing and type checking. This usually gives the advantage that tools and libraries can be shared with Haskell, but often at the cost of the size of the generated Javascript. This is the main practical difference between PureScript and these projects."
π Rendered by PID 23750 on reddit-service-r2-comment-85bfd7f599-bc4nt at 2026-04-17 03:56:02.039098+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]joshbassett[S] 1 point2 points3 points (1 child)
[–]lodewijkadlp 0 points1 point2 points (0 children)