atomic
learn-you-a-haskell
Our great sponsors
atomic | learn-you-a-haskell | |
---|---|---|
12 | 77 | |
32 | 294 | |
- | - | |
7.0 | 0.0 | |
about 1 month ago | over 1 year ago | |
JavaScript | Makefile | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
atomic
-
Should all Clojure functions be polymorphic by default?
I wanted ClojureScript, without transpilation, in the browser so badly I implemented much of it in plain JS. But JS still lacks first-class protocols (although there is a T39 proposal for them) so I have to implement protocols first. And I can tell you from having implemented much of Clojure myself in plain JS that it's protocols all the way down. 80% of my library are types and their protocols.
-
Do you do full-on FP in JavaScript? Want it?
I've watched a lot of talks, but it was Rich Hickey's which most captivated me and, ultimately, inspired big change in how I coded. After discovering Clojure I was so desiring FP (i.e. ClojureScript) in the browser without a build step and hoard of dependencies that I wrote my own library.
-
FP and JavaScript/TypeScript
I fell in love with Clojure and ported most of the tools to plain ol' JavaScript. I stole reactives and FRP from Elm. I write a functional core then wrap it with an imperative shell. It's been my mainstay for 10 years now.
-
What do functional programmers like functional programming?
What I did was looked past the languages at the ideas and saw they could be applied everywhere, including JavaScript. Take a look at my example programs (via prior link) and you can see Clojure applied to the JavaScript/browser realm.
-
Writing Javascript without a build system
I have found that the amount of code needed to support any page/app need not be massive. I have implemented modern board games with 250-300KB of js and the core lib I use on all my projects maxes out around 250KB, unminified. The lib itself is built on the premise of build avoidance.
-
Do you guys work with other languages?
I do JavaScript most of the time, but I was so inspired that I ported the Clojure mindset into the web development world so I could use it even in the absence of Clojure. I know there's ClojureScript, but I wanted the goodness without transpilation.
-
On Not Drinking the FP Kool-Aid
So I don't even do Clojure per se. I do Clojure in JavaScript without ClojureScript.
-
side effects in fp: to accept or not to accept
I use functional core, imperative shell. It would have you write a core which is a pure simulation. Write everything in the core using immutable data and pure functions. I elaborate on that here, along with examples.
- GitHub - mlanza/atomic: Write Clojuresque functional core, imperative shell programs in JavaScript.
- Clojuresque functional core, imperative shell programs in JavaScript
learn-you-a-haskell
-
Revisiting Haskell after 10 years
The LYAH is by far my favorite book for beginners, however, it lacks exercises for you to practice, but you can still move along typing and playing with the examples shown, and it’s free to read online. It’s outdated but most of the code may still be valid with little to no changes.
- [2023 Day 09] How today felt
-
Should I Haskell or OCaml?
Learn You a Haskell For Great Good! is also a really good resource:
https://learnyouahaskell.com/
-
How late is too late to change tech stacks?
If you've never done functional, Learn You Some Erlang For Great Good was a very fun read, and I'll always love Learn You a Haskell for Great Good for showing me everything imperative languages kinda gloss over magically, as well as why I should never take a job working in Haskell!
-
So Hows the Hackathon Going?
you start that way, but don't do http://learnyouahaskell.com really?
-
I want to learn fn programming
Learn You a Haskell for Great Good!
- help i just discovered haskell 38 hours ago and i think i love it
-
Haskell book after Get Programming with Haskell?
I enjoyed http://learnyouahaskell.com/ which is available in print and digital. Fun and lighthearted while still teaching reasonable depth. YMMV.
-
Why I decided to learn (and teach) Clojure
Elm is a statically typed language inspired by Haskell. The natural step would be to use Elm on the frontend and Haskell on the backend. And that's what I tried to do. I read with some difficulty the Learn You a Haskell for Great Good! book (available for free here) and learned a lot of cool stuff. But creating a complete backend using Haskell proved to be more than I could chew. So I decided to look for alternatives...
-
I’m trying coding
Here y’go!
What are some alternatives?
vscode-haskell - VS Code extension for Haskell, powered by haskell-language-server
learn4haskell - 👩🏫 👨🏫 Learn Haskell basics in 4 pull requests
episode-code-samples - 💾 Point-Free episode code.
plutus-pioneer-program - This repository hosts the lectures of the Plutus Pioneers Program. This program is a training course that the IOG Education Team provides to recruit and train software developers in Plutus, the native smart contract language for the Cardano ecosystem.
electric - a reactive Clojure dialect for web development that uses a compiler to infer the frontend/backend boundary
learn-you-a-haskell-notebook - Jupyter adaptation of Learn You a Haskell for Great Good!
squint - Light-weight ClojureScript dialect
coq - Coq is a formal proof management system. It provides a formal language to write mathematical definitions, executable algorithms and theorems together with an environment for semi-interactive development of machine-checked proofs.
proposal-command-syntax - Proposal: Command Syntax for JavaScript
algebra-driven-design - Source material for Algebra-Driven Design
euphoria - The Euphoria programming language (https://openeuphoria.org/)
integrant - Micro-framework for data-driven architecture