core | tyrian | |
---|---|---|
9 | 24 | |
2,783 | 315 | |
0.5% | 8.3% | |
0.0 | 8.7 | |
4 months ago | 17 days ago | |
Elm | Scala | |
BSD 3-clause "New" or "Revised" License | 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.
core
-
Learning Elm by porting a medium-sized web front end from React (2019)
elm is a lovely lang. it would be nice to have modern APIs on it.
here's the project for new eyes:
https://github.com/elm/core
https://elm-lang.org/
- Statically-typed functional programming, Elm, Conway's Game of Life, and Emergence
-
Beware of integer division in Elm 0.19.1
In Basics.elm we have:
-
Learn functional programming with Advent of Code! ☃️
The package docs for all the functions we learned today
-
Is there a viable successor to Elm?
However I notice that the developed of elm/core has died down (last commit was 4 years ago) and I feel that it's fading into obscurity.
-
Understanding UI Components in Elm
https://elmprogramming.com/
There isn't that much good learning material. It is important to get comfortable with the official docs. Especially the standard library that you find here: https://package.elm-lang.org/packages/elm/core/latest/
-
Is elm dead?
Looking at the default branch of core, you can already see this in more than just "for the compiler".
-
A good list of problems that every language should be able to solve.
For a minimal but useful set of functionality, I would love to see a better set than elm/core. In essence, basic types (Int, Float, String, Bool) and ways to combine these: Tuples, Records, ADT. Since they are also used so frequently, List, Map/Dict, Set and Option/Maybe implementations should also be included. In terms of functions, basic Math and a sensible set of operations for each of the included types. Again, elm/core is a good example.
-
Porting Elm to WebAssembly
Once all that handwritten C code was solid, I needed to make sure the C generated from Elm was working properly. I found the source for the core library's unit tests and decided to port them into my project and add some of my own tests. You can run the tests in WebAssembly in your browser too. (Funnily enough, one of the biggest challenges was getting the Elm Test framework itself to run! The framework is more complex than the tests themselves. I still need to come back to the fuzzer tests!)
tyrian
- Tyrian – The Elm Architecture for Scala.js
-
Learning Elm by porting a medium-sized web front end from React (2019)
If you want to try TEA, but not Elm I reccomend Scala.js with Tyrian[1]. Scala.js is a wonderful, mature project and Tyrian gives you the elm architecture in a very pragmatic way.
[1]: https://tyrian.indigoengine.io/
- At long last.. Tyrian (0.7.0) get's frontend routing!
-
Designing an HTML Component system
Have you looked at Laminar and Tyrian? Especially Tyrian seems to be close to what you're looking for.
-
What does the future look like?
What I wrote is obviously based on my experience as backend and data engineer. I'm so happy to see an adoption on the Frontend side (with things like Tyrian or OutWatch) and would be even happier if there was a clean path to Android. Out of curiosity, what do you find appealing in Scala, compared to e.g. Kotlin?
- Tyrian: Elm-inspired, purely functional UI library for Scala 3
- Tyrian 0.6.2 released
-
Released: Tyrian 0.6.0 & Indigo 0.14.0
Documentation can be found at https://indigoengine.io/ and https://tyrian.indigoengine.io/.
-
Monorepo: seeking for an advice for bi-lang project
Yes, I have. It didn't work out. There are quite neat libs like Tyrian, but they lack any ecosystem and I struggled to integrate it with pure JS libs - yet our app has a lot of very common components/widgets that we're really hesitating to write ourselves.
- Scala Multiplatform. Across the Universe
What are some alternatives?
r10 - R10 is a library of interactive building blocks written in Elm and elm-ui that we use at Rakuten for creating user interfaces.
Laminar - Simple, expressive, and safe UI library for Scala.js
elm-companies - 🌲 A list of companies using Elm in production.
scalajs-react - Facebook's React on Scala.JS
realworld-hasura - Realworld inspired blogging platform (Remake of Conduit) using Hasura + Purescript + Elm
scala-webapp-template - A pragmatic skeleton to build web applications in Scala/Scala.js, including user registration, login, admin portal, and, deployments
gc - Branch of the spec repo scoped to discussion of GC integration in WebAssembly
Converter - Typescript to Scala.js converter
html - Use HTML in Elm!
slinky - Write Scala.js React apps just like you would in ES6
elm-architecture-tutorial - How to create modular Elm code that scales nicely with your app
effect - A fully-fledged functional effect system for TypeScript with a rich standard library