alpacaaa / elm-to-purescript-cheatsheet Goto Github PK
View Code? Open in Web Editor NEWPurescript for Elm devs. ๐
Purescript for Elm devs. ๐
Hi @alpacaaa
I'm considering putting together a "comparison to other languages" section in the official docs and would like to use this content for the Elm page. What are your thoughts on that proposal? Do we have your permission to copy this repo's content?
We could alternatively link to here, but then it would be nice to have some additional purescript contributors co-maintain this repo so we can make sure to incorporate any PRs.
Just a suggestion.
I've found your examples (from elm-architecture
dir) really useful and after reading some of them I'm nearly confident that they are really self-contained and that they can be used as examples in pure "purescript/spork context".
I'm not sure if there should be a link to them from spork docs or if you should extract them into separate repo (and link it from this repository) so they can be easily found by users which are not interested/familiar (like me) with elm.
I'm sure that they have a lot of value outside of "elm to purescript context".
What do you think?
What a great read! Thanks a lot.
A minor thing I noticed is that Elm default imports focus on the Basics
module. In fact there is imported much more by default which isn't clear in the text.
https://github.com/elm-lang/core/blob/master/README.md
import Basics exposing (..)
import List exposing ( List, (::) )
import Maybe exposing ( Maybe( Just, Nothing ) )
import Result exposing ( Result( Ok, Err ) )
import String
import Tuple
import Debug
import Platform exposing ( Program )
import Platform.Cmd as Cmd exposing ( Cmd )
import Platform.Sub as Sub exposing ( Sub )
How about adding the link in a half sentence to make this clear?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.