r/purescript • u/owickstrom • Feb 05 '17
r/purescript • u/mdrexl • Jan 17 '17
Metrix Baresto PureScript frontend on GitHub
We have pushed the code of the frontend to our reporting software Metrix Baresto to GitHub so that people interested in how a medium sized PureScript app might look like can browse it:
https://github.com/metrix-frs/baresto
It has aboutt 5k lines of code, uses Halogen as a UI framework, and does a lot of interaction with the handsontable spreadsheet library. I'm happy to answer more questions if people are interested.
r/purescript • u/the_benchy_way • Jun 12 '16
Thought I'd share some tips for migrating code to 0.9.1
Release Notes: https://github.com/purescript/purescript/releases/tag/v0.9.1
These are some notes I took as I was migrating some of my old code and just thought I'd share.
The (++) alias for
appendhas been removed. Use <> instead.printwas removed from Control.Monad.Eff.Console, and renamed tologShow. Thanks for finding that /u/sharkdp.
-- Previous member print :: forall a eff. (Show a) => a -> Eff (console :: CONSOLE | eff) Unit print = log <<< show
-- Current member logShow :: forall a eff. Show a => a -> Eff (console :: CONSOLE | eff) Unit logShow a = log (show a)
The
returnalias has been removed. Usepureinstead.Each module is allowed one "open import" (probably Prelude). So you can import Prelude without specifying specific members. Every other module has to specify it's members.
To import algebraic data types, like Just and Nothing, you do "import Data.Maybe (Maybe(..))". I think (..) has existed in prior versions, but I thought I'd mention it since I forgot all about it. Also used to import type constructors.
In previous version, you could import modules into PSCI that didn't specify their exports. It looks like you have to specify exports now, e.g. module MyModule ( memberToExport, member2ToExport) where....I was mistaken on this one, this is working as before.
r/purescript • u/paf31 • Jun 30 '15
PureScript Compiler Version 0.7 ("Meltdown") Released
r/purescript • u/paf31 • Mar 12 '15
Pure11 - An experimental C++11 backend for PureScript
r/purescript • u/OnkelJulez • Sep 22 '21
New to PureScript, but I started to build a Cheatsheet for it - any suggestions on what it must cover?
codingcheats.ior/purescript • u/neasuy • Jul 31 '20
Grokking Algorithm Solutions in Purescript
hi guys i’m going through this simple algo book https://www.manning.com/books/grokking-algorithms to learn more about algos. i thought of writing my solutions in Purescript and submit my written solutions to the book’s main repo.
I made a PR for Chapter 1 and Chapter 2 which is just binary search and selection sort to start things out (https://github.com/egonSchiele/grokking_algorithms/pull/172).
Comments and suggestions to improve the code is very welcome :slightly_smiling_face: I’ll be submitting more soon for the other chapters :smile:
r/purescript • u/oreshinya • Jun 18 '20
purescript-grain: A UI library with easy and flexible state management inspired by Recoil.js and React Hooks.
r/purescript • u/jdegoes • May 01 '19
LambdaConf 2019 Full Agenda Published (June 5 - 7)
r/purescript • u/paldepind • Apr 23 '19
purescript-hareactive v0.1.0 released. A practical, powerful, and simple FRP library.
r/purescript • u/jusrin • Feb 27 '19
Twitter: "spacchetti has now merged into package-sets"
r/purescript • u/jusrin • Dec 15 '18
Advent of Justin (PureScript) 2018 (contains a post for every day 1 - 25th Dec)
r/purescript • u/kejace • Sep 18 '18
Bounties now available for purescript developers contributing to FOAM projects
Thanks to the Ethereum foundation, we now have sponsored bounties on issues for FOAM's purescript projects. The bounties currently range between $200-$550.
We're seeing a lot of interest from the JS community, but less so from the purescript community so I'm posting it here for more exposure.
If this experiment is successful, we will continue to offer bounties like these ourselves, to further encourage the contribution to the functional programming stack for Ethereum.
r/purescript • u/jusrin • Aug 27 '18
The PureScript Discourse has moved to discourse.purescript.org
r/purescript • u/_hoodunit • Nov 06 '17
Example: Developing a PureScript app with Nix
r/purescript • u/natsu • Oct 27 '17
Make a GUI desktop app using PureScript, C++, and SFML.
r/purescript • u/[deleted] • Oct 10 '17
Since this sub is so quiet, here's a quick glance at type-classes' JS representation
Nothing special. I had to comprehend the CoreImp / JS code generated from type-classes and instances (as I'm dabbling with writing a custom PS backend). My brain was a bit fried & late at night, so I had to spell it all out in great detail in natural-language, when ordinarily just looking at the JS would have immediately shown me the very simple mechanisms being employed. There you go, in case you ever need to look it up =)
http://metaleap.net/blog.purescript-typeclasses-implementation.html
r/purescript • u/lambda_foo • Nov 09 '16
PureScript + Haskell role at Ambiata
ambiata.comr/purescript • u/doppioslash • Jul 10 '16