package-sets
documentation
Our great sponsors
package-sets | documentation | |
---|---|---|
2 | 13 | |
195 | 1,000 | |
-0.5% | 0.7% | |
9.0 | 4.7 | |
9 days ago | 24 days ago | |
Dhall | ||
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
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.
package-sets
-
purerl - Integrating PureScript into Elixir projects
diff --git a/packages.dhall b/packages.dhall index e13009d..28bcb0c 100644 --- a/packages.dhall +++ b/packages.dhall @@ -99,7 +99,6 @@ in upstream ------------------------------- -} let upstream = - https://github.com/purescript/package-sets/releases/download/psc-0.15.3-20220712/packages.dhall - sha256:ffc496e19c93f211b990f52e63e8c16f31273d4369dbae37c7cf6ea852d4442f + https://github.com/purerl/package-sets/releases/download/erl-0.15.3-20220629/packages.dhall in upstream
-
What's the idiomatic way to do package management?
https://github.com/purescript/package-sets/releases/download/psc-0.14.1-20210516/packages.dhall sha256:f5e978371d4cdc4b916add9011021509c8d869f4c3f6d0d2694c0e03a85046c8
documentation
-
How do product and record types work in your language?
The example from the PureScript documentation is:
The most common structural approach is row polymorphism. OCaml has row polymorphic objects and Purescript has proper row polymorphic records. In row polymorphism, you have fields, and then a variable that's "the rest of the record". This provides you type the ability to extend a record with more fields, e.g. some fun x -> {x with f1 = 0, f2 = 'a'} could have some type like {x..} -> {f1 : int, f2 : char | x..}, where x.. denotes the row polymorphic variable. So this is a simple system that gives you fully structural records (e.g. the type is the fields that exist) and a way to type single inheritance, with full type inference. For the dual (polymorphic variants), the same applies (and single inherence corresponds to wildcard matching in this case).
-
[Help] Basic argonaut-codecs example
[1 of 1] Compiling Main Error found: in module Main at src/Main.purs:40:35 - 40:39 (line 40, column 35 - line 40, column 39) Could not match type { age :: Maybe Int , name :: String , team :: Maybe String} with type Json while checking that type t0 is at least as general as type Json while checking that expression user has type Json in value declaration main where t0 is an unknown type See https://github.com/purescript/documentation/blob/master/errors/TypesDoNotUnify.md for more information, or to contribute content related to this error. [error] Failed to build.)
-
Helix: a post-modern text editor
The one page you should add to the documentation is "differences from Vim".
For example, https://github.com/purescript/documentation/blob/master/lang... makes picking up PureScript as a Haskell programmer much easier than having to read all of the documentation and do the diff yourself.
-
Getting errors on imports. Module not found.
$ spago build Error 1 of 3: in module Main at src/Main.purs:7:1 - 7:28 (line 7, column 1 - line 7, column 28) Module Control.Plus was not found. Make sure the source file exists, and that it has been provided as an input to the compiler. See https://github.com/purescript/documentation/blob/master/errors/ModuleNotFound.md for more information, or to contribute content related to this error. ...
No worries. Also, while I don't think it is that much detailed to include REPL differences and whatnot, but there is this document which explains the main differences between PureScript and Haskell. As someone coming with Haskell background (I assume that is most PureScripters) I found that document quite helpful while first learning.
What are some alternatives?
helix - A post-modern modal text editor.
spago - 🍝 PureScript package manager and build tool
purescript-halogen - A declarative, type-safe UI library for PureScript.
purescript - A strongly-typed language that compiles to JavaScript
purescript-halogen-realworld - Exemplary real world application built with PureScript + Halogen
purescript-payload - An HTTP server and client library for PureScript
haddock-cheatsheet - A documentation-only package exemplifying haddock markup features
saka-key - A keyboard interface to the web
LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
xi-editor - A modern editor with a backend written in Rust.
kakoune - mawww's experiment for a better code editor
history - Emacs - History utility for source code navigation.