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:

11K
active users

#functionalprogramming

17 posts13 participants0 posts today

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

I fixed it!

Enemies now move, space and align properly and dynamically based on line length and position, and for good measure I made the whole project follow some #FunctionalProgramming paradigms because the original issue was caused by the pitfalls of mutable data...
Thank you so much everyone for the motivation to overcome this silly issue; my confidence was restored. :>

#gamedev #pico8 #indiedev

Special thanks to @dbat @efi @Joss and @crabbitslater for the hints and motivating words.

:scala:‬ Functional Programming in #Scala part 3 of 3 about to start (9am Pacific), you can watch on Twitch too:

‪twitch.tv/softinio‬

There will be mentions of #Monads and #Effect systems!

To hear about our future online and in person events at Bay Area Scala Subscribe to our Luma:

https://lu.ma/scala

lu.maBay Area Scala · Events CalendarView and subscribe to events from Bay Area Scala on Luma. Bay Area Scala Enthusiasts: Learn, Code, Share! Tech talks, book clubs, hackathons for Scala & functional programming lovers. Grow your skills, build the future of AI with Scala.