#PureScript

Functional Programming Indiafpindia.bsky.social@bsky.brid.gy
2026-01-13

Announcing our first offline meetup for 2026! #FPIndia #Bangalore #Meetup! Talk submissions are also open. Please RSVP if you wish to attend: hasgeek.com/fpindia/bang... #Haskell #PureScript #Elixir #Erlang #Scala #Clojure #India #FunctionalProgramming

Bangalore FP January 2026 meet...

2025-12-15

@leobm and here a version in #purescript ```specialAvg :: Array Int -> Int
specialAvg ints = case length withoutMinMax of
0 -> 0
_ -> sum withoutMinMax / length withoutMinMax
where
startValue = fromMaybe 0 $ head ints
minv = foldr min startValue ints
maxv = foldr max startValue ints
isNotMinMax v = (v /= maxv) && (v /= minv)
withoutMinMax = filter isNotMinMax ints```

Grรฉgoire Locquevilleglocq@mathstodon.xyz
2025-10-30

@raphael That is great to know :)

The code is released under the GPL license so you're free to reuse (parts of) it as long as whatever you distribute is also under the GPL license. With that said, it's in #purescript so I'm not sure how reusable it is, unless your project is also in Purescript.

In any case, if you'd like to join forces for some project, please let me know. It gets demotivating trying to build tools by myself as a developer for a use case that's specific to me as a user. I could do with potential users/fellow developers :)

Boyd Stephen Smith Jr.BoydStephenSmithJr@hachyderm.io
2025-07-27

Opened an issue against the registry github.com/purescript/registry since package-sets is not longer accepting issues. I hope that's the right place. Please #PureScript people let me know if there's a better place to report this.

(No, I'm not interested in using spago@next.)

Boyd Stephen Smith Jr.BoydStephenSmithJr@hachyderm.io
2025-07-27

Hmm, trying to upgrade my #PureScript project to the latest package-set and getting a failure:

```
[info] Installing "record-extra-srghma"
[error]
Failed to install dependency "record-extra-srghma"
Git output:

Cloning into '.'...
fatal: could not read Username for 'github.com': terminal prompts disabled

Aborting installation..
```

I'm guessing that it's expecting me to have already have authenticated with GitHub and be using some sort of cache / git credential helper ?

I don't think this is good for repeatable builds and I don't think the package-set should accept packages that require authentication to fetch / build.

```packages.dhall
let upstream =
github.com/purescript/package-
sha256:ee7af380ca58c03d51ac6bb7411ec441724c671a4fff823a2a61b1d4e345303c

in upstream
```

Boyd Stephen Smith Jr.BoydStephenSmithJr@hachyderm.io
2025-07-15

@nixCraft

fibs = Data.Function.fix $ (0 :) . scanl (+) 1

Actually, that's for my old favorite. I don't have a idealized one-liner for #Idris or #PureScript yet.

Boyd Stephen Smith Jr.BoydStephenSmithJr@hachyderm.io
2025-07-11

Is there a way to have #PureScript call DOM functions on #Halogen elements?

It _feels_ like re-rendering to VDOM would be wasteful, and there's already an event that will be triggered by my DOM calls.

In particular, I'd like like to use the existing browser/DOM state for a textarea (or some other form elements) rather than having to write a component that mimics what the browser is doing.

But, maybe I'm overthinking it, for now.

Boyd Stephen Smith Jr.BoydStephenSmithJr@hachyderm.io
2025-07-01

I want to be your next #FediHire ! I've been a programmer since 1985 (as a child), I've been an IT professional since 1995 (pulling wires and swapping cards and configuring MS Windows). I graduated from University of Arkansas Fayetteville with a BS in CS in December of 2003. A full resume is available.

I currently require a 100% remote position. I cannot relocate from Cove, #Arkansas. I would prefer W-2 employment with a base salary of at least 130k USD/yr, plus some sort of retirement offering (401k or similar) and healthcare benefits (HDCP + HSA or similar).

I prefer something where I can be a high-performing individual contributor: reading, writing and improving source text the majority of my day, with some time spent knowledge-sharing with other developers -- learning and teaching. I'd like to work with #Haskell, #Purescript, or #Idris as the primary source language. I've previously delivered value in Haskell, #Javascript, #SQL, #Python, #Scala, #Java, #C, and #Cxx among others. I can be productive in almost any language (no PHP, please; I promised myself never again).

Felix ๐Ÿ‡บ๐Ÿ‡ฆ๐Ÿšดโ€โ™‚๏ธ๐Ÿ‡ช๐Ÿ‡บleobm@norden.social
2025-06-13

@jrychter @cdwilson else Iโ€˜d like TOML

#dhall looks interesting too, but I'm not sure if it's still active. Spago, the #purescript build system, used it, but I think they changed to YAML.

dhall-lang.org/

Boyd Stephen Smith Jr.BoydStephenSmithJr@hachyderm.io
2025-06-09

Just put in another application via #LinkedIn so I also wanted to try to get #FediHired again.

I've been a programmer since 1985 (as a child), I've been an IT professional since 1995 (pulling wires and swapping cards and configuring MS Windows). I graduated from University of Arkansas Fayetteville with a BS in CS in December of 2003. A full resume is available.

I currently require a 100% remote position. I cannot relocate from Cove, #Arkansas.

I prefer something where I can be a high-performing individual contributor: reading, writing and improving source text the majority of my day, with some time spent knowledge-sharing with other developers -- learning and teaching. I'd like to work with #Haskell, #Purescript, or #Idris as the primary source language, but I can be productive in almost any language (no PHP, please; I promised myself never again).

I would prefer W-2 employment with a base salary of at least 130k USD/yr, plus some sort of retirement offering (401k or similar) and healthcare benefits (HDCP + HSA or similar).

(Boosts appreciated.)

Anupam ๐Ÿ‡ฎ๐Ÿ‡ณใ€ŠใƒŸใ€‹ฮปโ‰กaj@id1.in
2025-05-31

Playing around with #DependentTypes and started writing a (currently pretty silly) #Singletons library port for #PureScript - https://forge.id1.in/aj/purescript-singletons/

#Haskell #FunctionalProgramming

Boyd Stephen Smith Jr.BoydStephenSmithJr@hachyderm.io
2025-05-19

@rzeta0 It's written in #Purescript -- the syntax is somewhat similar tho, so you might understand: gitlab.com/bss03/halogen-lambd

Anupam ๐Ÿ‡ฎ๐Ÿ‡ณใ€ŠใƒŸใ€‹ฮปโ‰กaj@id1.in
2025-05-09

Come join us for another day of geeking out over functional programming! The FPIndia May meetup is here!

https://hasgeek.com/fpindia/bangalore-fp-may-meetup/

#Bangalore #FunctionalProgramming #FPIndia #Meetup #India #Haskell #PureScript #OCaml #Elixir #Clojure #Scala

Anupam ๐Ÿ‡ฎ๐Ÿ‡ณใ€ŠใƒŸใ€‹ฮปโ‰กaj@id1.in
2025-05-09

Come join us for another day of geeking out over functional programming! The FPIndia May meetup is here!

https://hasgeek.com/fpindia/bangalore-fp-may-meetup/

#Bangalore #FunctionalProgramming #FPIndia #Meetup #India #Haskell #PureScript #OCaml #Elixir #Clojure #Scala

Anupam ๐Ÿ‡ฎ๐Ÿ‡ณใ€ŠใƒŸใ€‹ฮปโ‰กaj@id1.in
2025-05-09

Come join us for another day of geeking out over functional programming! The FPIndia May meetup is here!

https://hasgeek.com/fpindia/bangalore-fp-may-meetup/

#Bangalore #FunctionalProgramming #FPIndia #Meetup #India #Haskell #PureScript #OCaml #Elixir #Clojure #Scala

Justin Woo - Superior String Spaghetti with PureScript (HaskellX 2018 Lightning Talk)

infosec.pub/post/27746810

Anupam ๐Ÿ‡ฎ๐Ÿ‡ณใ€ŠใƒŸใ€‹ฮปโ‰กaj@id1.in
2025-05-03

Is there any org in #Bangalore that would like to lend their space for an #FPIndia meetup? Please dm

#India #FunctionalProgramming #Meetup #Haskell #PureScript #Erlang #Elixir #OCaml #Scala #Clojure

Anupam ๐Ÿ‡ฎ๐Ÿ‡ณใ€ŠใƒŸใ€‹ฮปโ‰กaj@id1.in
2025-05-01

If you want to learn #Haskell, and are not allergic to frontend development, start with #PureScript.

Yes, the tooling situation in Haskell is that bad, and it will actively prevent you from focusing on learning. PureScript meanwhile is basically Haskell, and fantastic and modern in every way.

You will thank me

Anupam ๐Ÿ‡ฎ๐Ÿ‡ณใ€ŠใƒŸใ€‹ฮปโ‰กaj@id1.in
2025-04-28

@cafkafk have you looked at #PureScript

harryprayivharryprayiv
2025-04-20

If youโ€™re a user or a proponent of please consider donating to the project to keep it alive.

Itโ€™s a fairly obscure project but, IMO, it is THE language for web .

On top of that, the backend was recently rewritten in which tends to be very popular choice in the world due to its rigor.

I see nipping at its heels but IMO, PS will always be a more bespoke and opinionated tool.

opencollective.com/purescript/

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst