fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.8K
active users

#purescript

0 posts0 participants0 posts today

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.

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).

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.)

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

If you’re a #haskell user or a proponent of #functionalprogramming please consider donating to the #Purescript project to keep it alive.

It’s a fairly obscure project but, IMO, it is THE language for web #frontend.

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

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

opencollective.com/purescript/

opencollective.comContribute - Open Collective
Replied in thread

@xyhhx I’m an absolute hack but I find myself standing on the shoulders of giants that stand on the shoulders of giants that stand on the shoulder of giants that stand on the….

I’d absolutely love to get into anything you might be wondering about. I eventually switched to it because it made more sense as someone that loved calculus in high school. #functionalprogramming

Here’s a cool intro video I watched the other day about my pet language #purescript
redirect.invidious.io/watch?v=

redirect.invidious.ioSelect instance - Invidious

I wrote a small #PureScript DSL to compute taxes. Why?

1. Tax season is here, and all the online calculators are terrible!

2. The Indian tax code has different "tax regimes" that you can opt for and I wanted to compare how the tax liability changes with your choice. Hence a DSL, and not merely a calculator.

3. Writing a tax calculator is the best way to understand the nuances of the tax code.

4. Writing DSLs is fun!

Code here - https://forge.id1.in/aj/purescript-taxes

#India #Taxes #TaxCalculation #FunctionalProgramming