rn-rf-shadow
deprecated-coalton-prototype
rn-rf-shadow | deprecated-coalton-prototype | |
---|---|---|
3 | 9 | |
354 | 216 | |
- | - | |
6.1 | 1.4 | |
3 months ago | over 2 years ago | |
Clojure | Common Lisp | |
- | 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.
rn-rf-shadow
-
React Native with Expo - Custom font
I'm using rn-rf-shadow as base for my React Native app in clojure.
-
Hell Is Other REPLs
A cool example: https://youtu.be/3HxVMGaiZbc?t=1783
But better to just block 5 mins in your calendar and try it: https://github.com/PEZ/rn-rf-shadow
Don't play with this if you like hot-reload or hot-refresh features in react or jrebel or whatever. You will forever see these other approaches as lame in comparison... speaking from someone who was previously very happily ignorant, living my best life on the JRebel side of the fence.
-
Long-term funding update
rn-rf-shadow (A cljsrn template for getting started creating web, iOS and Android apps)
deprecated-coalton-prototype
-
The thing is, if you start with Common Lisp, it's pretty easy to write a DSL that adds the constraints and provides the guarantees that you need. [..] Maybe all I had to do to turn CL into Haskell is implement the Hindley-Milner algorithm.
can't jerk
-
Hell Is Other REPLs
I used to use CL quite a bit, but have since abandoned it for Haskell, so I'm a bit biased.
There's a number of issues with that:
- I'd be missing all the optimizations that can be performed due to purity.
- There's more to Haskell's type system than just vanilla Hindley-Milner, and the implementation of it isn't particularly trivial. https://github.com/stylewarning/coalton is the closest thing and it's still missing a large amount of the type system.
- Doing the implementation would be a significant amount of work to get it to integrate well with the language, and it would be a layer tightly glued on top instead of integrated with the language.
- A major part of Haskell is the standard library, a good chunk of the semantics of Haskell people use on a day to day basis, like monads and etc, are a part of the standard library.
-
Six years of professional Clojure development
This looks like something Common Lisp does better, however I have too little Clojure experience to compare. CL (and SBCL in particular) does "good enough" static type checks, it throws warning at compile time (when we compile one function with a keystroke). We can also precise our function types gradually. It isn't a HM type system (Coalton[1] could be it) but it's already great (compared to no compile-time types at all).
Oh, about interactive development: that's sure, CL shines here. Objects get updated (lazily) after a class change, we can install Quicklisp libraries without restarting the image, etc. It's very smooth.
1: https://github.com/stylewarning/coalton
- Common lisp or Racket as a first lisp?
- Coalton is a dialect of ML embedded in Common Lisp
- Coalton – a dialect of ML embedded in Common Lisp
-
What would you like to see in a CL dev environment?
Help out with Coalton.
-
Stupid protocols for CL - Is this a bad idea?
If you like this kind of stuff, maybe you can help implement type classes in Coalton.
-
On repl-driven programming
(there's a work-in-progress library to add a dialect of ML on top of CL: coalton)
What are some alternatives?
rich4clojure - Practice Clojure using Interactive Programming in your editor
paip-lisp - Lisp code for the textbook "Paradigms of Artificial Intelligence Programming"
SLIMA - Superior Lisp Interactive Mode for Pulsar
immer - Postmodern immutable and persistent data structures for C++ — value semantics at scale
kandria - A post-apocalyptic actionRPG. Now on Steam!
yale-haskell - HASKELL: Yale Haskell system written in Lisp
dram - Interactive Clojure REPL Guides
Clicc - The Clicc Common Lisp implementation (version 0.6.4)
clj-kondo - Static analyzer and linter for Clojure code that sparks joy
conjure - Interactive evaluation for Neovim (Clojure, Fennel, Janet, Racket, Hy, MIT Scheme, Guile, Python and more!)
austral - Systems language with linear types and capability-based security.