frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Prefer do notation over Applicative operators when assembling records (2024)

https://haskellforall.com/2024/05/prefer-do-notation-over-applicative
13•wazHFsRy•2d ago

Comments

nanolith•21m ago
There is plenty of room for debate over this advice. Prefer do notation if the effects of the flow are more important than the data structure, and prefer using Applicative style if the data structure layout is more important to understand than the effects to build it. In the example in the article, the software is easier to understand from the perspective of how data was acquired to populate the record. However, this isn't true in a general sense; often records are purpose built in higher level languages to reflect effects and constrain them.

Example: when using Parsec or similar, Applicative style is far easier to understand when examining how records are parsed. In this case, the records will likely reflect the AST, which in turn will reflect the grammar. The two reinforce each other: additional constraints on syntax will naturally flock to data constructors.

lemonwaterlime•6m ago
My view is more in line with your statement.

> Prefer do notation if the effects of the flow are more important than the data structure, and prefer using Applicative style if the data structure layout is more important to understand than the effects to build i.

Google releases Gemma 4 open models

https://deepmind.google/models/gemma/gemma-4/
1049•jeffmcjunkin•7h ago•327 comments

Tailscale's new macOS home

https://tailscale.com/blog/macos-notch-escape
278•tosh•5h ago•140 comments

Decisions that eroded trust in Azure – by a former Azure Core engineer

https://isolveproblems.substack.com/p/how-microsoft-vaporized-a-trillion
211•axelriet•8h ago•57 comments

Artemis II's toilet is a moon mission milestone

https://www.scientificamerican.com/article/artemis-iis-toilet-is-a-moon-mission-milestone/
105•1659447091•21h ago•41 comments

Cursor 3

https://cursor.com/blog/cursor-3
259•adamfeldman•5h ago•222 comments

Qwen3.6-Plus: Towards real world agents

https://qwen.ai/blog?id=qwen3.6
406•pretext•9h ago•142 comments

Good ideas do not need lots of lies in order to gain public acceptance (2008)

https://blog.danieldavies.com/2004/05/d-squared-digest-one-minute-mba.html
130•sedev•6h ago•56 comments

George Goble has died

https://www.legacy.com/us/obituaries/wlfi/name/george-goble-obituary?id=61144779
95•finaard•5h ago•18 comments

The Australian government has announced gambling advertising reforms

https://www.bbc.com/news/articles/c62492e925lo
76•gostsamo•5h ago•50 comments

ParadeDB (YC S23) Is Hiring Database Internal Engineers (Rust)

https://paradedb.notion.site/
1•philippemnoel•1h ago

Lemonade by AMD: a fast and open source local LLM server using GPU and NPU

https://lemonade-server.ai
421•AbuAssar•13h ago•94 comments

LinkedIn is searching your browser extensions

https://browsergate.eu/
1529•digitalWestie•10h ago•674 comments

Memo: A language that remembers only the last 12 lines of code

https://danieltemkin.com/Esolangs/Memo/
11•notem•1h ago•0 comments

JSON Canvas Spec (2024)

https://jsoncanvas.org/spec/1.0/
81•tobr•3d ago•28 comments

Significant progress made on Xbox 360 recompilation

https://readonlymemo.com/rexglue-xbox-360-recompilation-interview/
56•tetrisgm•4d ago•15 comments

OpenAI Acquires TBPN

https://openai.com/index/openai-acquires-tbpn/
133•surprisetalk•6h ago•119 comments

Prefer do notation over Applicative operators when assembling records (2024)

https://haskellforall.com/2024/05/prefer-do-notation-over-applicative
14•wazHFsRy•2d ago•2 comments

Significant raise of reports

https://lwn.net/Articles/1065620/
272•stratos123•14h ago•145 comments

Inside Nepal's Fake Rescue Racket

https://kathmandupost.com/money/2026/03/27/inside-nepal-s-fake-rescue-racket
245•lode•12h ago•112 comments

Queueing Requests Queues Your Capacity Problems, Too

https://pushtoprod.substack.com/p/queueing-requests-queues-your-capacity-problems-too
9•mhawthorne•3d ago•2 comments

Artemis computer running two instances of MS outlook; they can't figure out why

https://bsky.app/profile/nikigrayson.com/post/3miik2wzosk25
291•mooreds•8h ago•214 comments

Show HN: Made a little Artemis II tracker

https://artemis-ii-tracker.com/
6•codingmoh•50m ago•0 comments

IBM Announces Strategic Collaboration with Arm

https://newsroom.ibm.com/2026-04-02-ibm-announces-strategic-collaboration-with-arm-to-shape-the-f...
259•bonzini•15h ago•167 comments

Magic the Gathering Deck Shuffler

https://mtg.jessitron.honeydemo.io/
29•mooreds•3d ago•14 comments

Foxing aspires to be an eBPF-powered replication engine for Linux filesystems

https://codeberg.org/aenertia/foxing
33•tanelpoder•3d ago•4 comments

'Backrooms' and the Rise of the Institutional Gothic

https://thereader.mitpress.mit.edu/backrooms-and-the-rise-of-the-institutional-gothic/
164•anarbadalov•10h ago•73 comments

Show HN: A P2P messenger with dual network modes (Fast and Tor)

https://github.com/Realman78/Kiyeovo/
28•Realman78•8h ago•16 comments

Sweden goes back to basics, swapping screens for books in the classroom

https://undark.org/2026/04/01/sweden-schools-books/
723•novaRom•13h ago•376 comments

Amazon is adding a fuel surcharge to fees it collects from third-party sellers

https://www.cnbc.com/2026/04/02/amazon-add-3point5percent-fuel-and-logistics-surcharge-for-seller...
126•lehi•5h ago•71 comments

Artemis II will use laser beams to live-stream 4K moon footage at 260 Mbps

https://www.tomshardware.com/networking/artemis-ii-will-use-laser-beams-to-live-stream-4k-moon-fo...
315•speckx•9h ago•140 comments