chemoelectric, to random
@chemoelectric@masto.ai avatar

For the I decided to get a little fancy:

Xiaolin Wu's line algorithm - Rosetta Code https://rosettacode.org/wiki/Xiaolin_Wu's_line_algorithm#Scheme

Also I realized that using the transparency channel meant I had no need for gamma correction! But it then did require constructing an image from parts. That’s what made it more fun, though.

chemoelectric, to random
@chemoelectric@masto.ai avatar

Okay, you fans, whom I know to be plentiful! Here is the task for drawing antialiased straight lines, done in ATS:

https://rosettacode.org/wiki/Xiaolin_Wu's_line_algorithm#ATS

haskman, to programming
@haskman@functional.cafe avatar

So I have a few thoughts on why Haskell is not more popular.

Haskell sort of dropped the ball by not being more user friendly. This is not about "keeping Haskell simple" - I like the fancy types and advanced features in Haskell and I wish it would get more such features - this is specifically about the community and the new user onboarding experience and how to fix it.

The problem is two fold -

1/n

https://functional.cafe/@haskman/110263531801953025

rml, to random
@rml@functional.cafe avatar

"Something I'm curious about working on is an imperative dependently typed programming language that uses linear types and to keep the mutation in line. Something I have to admit is that I'm not actually interested in . I'm simply interested in ."

chemoelectric, to random
@chemoelectric@masto.ai avatar

The same program as before, but this time in or :

Euler method - Rosetta Code https://rosettacode.org/wiki/Euler_method#Ol

chemoelectric,
@chemoelectric@masto.ai avatar
chemoelectric,
@chemoelectric@masto.ai avatar
Jose_A_Alonso, to programming
@Jose_A_Alonso@mathstodon.xyz avatar

Make invalid states representable. (We should model the state of a system using algebraic types and include states that are invalid). ~ Chris Martin (@chris__martin). https://typeclasses.substack.com/p/make-invalid-states-representable

jbzfn, to programming
@jbzfn@mastodon.social avatar

「 As the name suggests, with purely functional programming, the developer can write only pure functions, which, by definition, cannot have side effects. With this one restriction, you increase stability, open the door to compiler optimizations, and end up with code that’s far easier to reason about 」
— IEEE Spectrum


https://spectrum.ieee.org/functional-programming

jbzfn, to programming
@jbzfn@mastodon.social avatar

🧑🏻‍💻 Why is Elm such a delightful programming language?
— Marcio Frayze

https://dev.to/marciofrayze/why-is-elm-such-a-delightful-programming-language-2em8

jbzfn, to random
@jbzfn@mastodon.social avatar
jbzfn, to random
@jbzfn@mastodon.social avatar

λ Fix your Clojure code: Clojure comes with design patterns
— janetacarr.com


https://blog.janetacarr.com/software-design-patterns-in-clojure

ramin_hal9001, to programming
@ramin_hal9001@emacs.ch avatar

Interview with Simon Peyton Jones, maintainer of the Glasgow Haskell Compiler (GHC), and has been hired recently by Epic Games to develop a new Haskell-inspired programming language called "Verse".
https://www.youtube.com/watch?v=fBFsxmJEk7M

jaandrle, to webdev
@jaandrle@fosstodon.org avatar

fpubsub@v1.0.0 – PubSub implementation in JavaScript for being used in functional programming approach. Types/TypeScript supported. Production ready.

doppioslash, to FunctionalProgramming


I'm Claudia Doppioslash, Graphics Programmer in the game industry.
In the years I've worked on games, XR apps, wrote a technical book, worked in and spoken at programming conferences.
Recently I switched to after 8+ years of
Interests: implementing (Physically Based Rendering), , and (Houdini), translating movie into renderers, making tools, extending DCCs (, ).

bwbush, to renewableenergy

#introduction

I am a #physicist who has focused much of my career on the #modeling, #simulation, #visualization, and #analysis of #complexSystems (especially #infrastructure and #renewableEnergy), and who is currently working on the #Cardano #blockchain. I love #functionalProgramming, #Haskell, #formalMethods, #categoryTheory, #datavis, #infovis, #XR, #statistics, and teaching.

I have passion for art, music, language, and #meditation; I occasionally create #painting, #sculpture, and #poetry.

jan_leila, to opensource

New to the platform we will see how much I used this but wanted a space that isn't big techy but still wanted to use social media. Anarchist into #foss #minecraft #speedrunning #functionalprogramming and #tokipona

#Introduction

Pixdigit, to foss
@Pixdigit@layer8.space avatar

I've been on masto quite a while now, so I think an is overdue.

Moin. I am a (soon to be finished) computer science student in Germany. My interests are and . I focus on 2D puzzlers but am open for more. I am also interested in human languages. Especially conlangs like . If able, I go climbing fairly regularly.

Sadly I am not very good at expressing myself so if I say something controversial, take it with a grain of salt.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • rosin
  • ngwrru68w68
  • osvaldo12
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • khanakhh
  • everett
  • slotface
  • tacticalgear
  • kavyap
  • JUstTest
  • cubers
  • normalnudes
  • modclub
  • ethstaker
  • InstantRegret
  • GTA5RPClips
  • cisconetworking
  • Durango
  • Leos
  • provamag3
  • tester
  • anitta
  • lostlight
  • All magazines