hannesm, to random
@hannesm@mastodon.social avatar

Oh, that's really nice -- the odoc cheatsheet by Paul-Elliot https://ocaml.github.io/odoc/cheatsheet.html -- writing nice documentation just got easier

vascorsd, to random
@vascorsd@mastodon.social avatar
hannesm, to random
@hannesm@mastodon.social avatar

blogged about my experience at the MirageOS retreat 2024 https://hannes.robur.coop/Posts/Retreat2024 -- happy reading (and I'm as usual interested in feedback)

hrefna, to Java
@hrefna@hachyderm.io avatar

It's fascinating to me looking at beginning language guides and thinking "what does this say about the culture of the language"

When I was delving into it was (with affection) "here's hello world and here's a dense academic paper on implementing event systems in OCaml 5!"

guides used to be centered on the assumption that you were a web programmer looking to do applets, even long after that assumption died.

generally seems to assume a background in programming w/ a CLI.

hrefna,
@hrefna@hachyderm.io avatar

After a while with my conclusion there is that:

OCaml really is a language for people who are fairly mathy and academic but who still want to get stuff done. The culture felt entirely focused around this question. So you get the dense academic paper not to scare you, but because they think you will be legitimately interested in it (albeit probably not right after hello world, but fairly soon).

OTOH there's a kind of ruthless efficiency: if you need to compromise you compromise.

brab, to random French
@brab@framapiaf.org avatar

The Weekly News for 2024-05-14 is out

https://alan.petitepomme.net/cwn/2024.05.14.html

jutty, to RSS
@jutty@bsd.cafe avatar

I have this blog set up and ready for writing using a bare, classic web stack with no framework, no static site generator, just html/css files and some short scripts in JS and OCaml.

The only thing I feel is missing is an RSS feed. Presently I am feeling very inclined to just rolling my own RSS using the very same stack (a text editor and scripts) instead of switching to some SSG just to get an RSS feed. Something tells me that this is a sinful, heretic thought.

Ideas welcome on how to avoid such heresy. Encouragement to just do it also welcome.

#rss #atom #blogging #javascript #ocaml

vascorsd, to random
@vascorsd@mastodon.social avatar

A Preview of Universal Libraries in Dune | Sandtracks - https://melange.re/blog/posts/dune-universal-libraries-preview

brab, to random
@brab@framapiaf.org avatar
jbzfn, to FunctionalProgramming
@jbzfn@mastodon.social avatar

🐫 Pretty Printing in OCaml: A Format Primer
➥ Vladimir Keleshev

https://keleshev.com/pretty-printing-in-ocaml-a-format-primer

shakthimaan, to random
@shakthimaan@mastodon.social avatar

Reminder: OCaml Modules Twitch stream starting in an hour's time, today, Wednesday, May 1, 2024 1800 IST | 1430 CEST | 1330 GMT www.twitch.tv/shakthimaan @ocaml_org

brab, to random
@brab@framapiaf.org avatar

The Weekly News for 2024-04-30 is out
https://alan.petitepomme.net/cwn/2024.04.30.html

brokenix, to haskell
@brokenix@emacs.ch avatar

quoting @prophet
mli files are mostly used to constrain the visibility of definitions whereas hs-boot files are about allowing mutual recursion between modules (which OCaml doesn't support, even with mli files!)
But the mechanism by which they achieve their goals is nearly identical even though the perception of it is so vastly different.

I guess the conclusion to draw from this is that both sides are wrong: IMO, mli files are not nearly as good as OCamlers think they are, but hs-boot files aren't as ugly as Haskellers think either.
-- prettySrcLoc and prettyCallStack are defined here to avoid hs-boot
-- files. See Note [Definition of CallStack]

Backpack's design is primarily driven by compatibility considerations (“how do we build upon GHC's existing foundation?”), rather than elegance. In particular, Backpack doesn't eliminate those ugly .hs-boot files, it just automates and hides their generation and processing.

For all their faults, Standard ML and OCaml have pretty good support for modular programming. And, as the Modular Type Classes paper you linked shows, type classes can be built elegantly on top of a good modular foundation.

https://cohost.org/prophet/post/3251638-it-s-really-interest
https://haskell.fi.muni.cz/doc/base/src/GHC-Exception.html
https://twitter.com/lexi_lambda/status/1172629363730333697
https://news.ycombinator.com/item?id=11371130

shakthimaan, to community
@shakthimaan@mastodon.social avatar

OCaml Option module Twitch video at https://www.youtube.com/watch?v=hwgP6JvS1L0 (~ 17m) @ocaml_org

brab, to random
@brab@framapiaf.org avatar

The Weekly News for 2024-04-23 is out
https://alan.petitepomme.net/cwn/2024.04.23.html

brokenix, to random
@brokenix@emacs.ch avatar

Reason Town: Elm to , Technical Debt, and Escape Hatches with Paul Biggar
Speaking of which , now that @codyroux has related diagonalisation to p = np ( which either idk or I don't recall reading ), I got to follow up the whole series
Episode webpage: https://podcasters.spotify.com/pod/show/reason-town/episodes/Elm-to-OCaml--Technical-Debt--and-Escape-Hatches-with-Paul-Biggar-e52keq

Media file: https://anchor.fm/s/79070e8/podcast/play/4329370/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2019-7-23%2F21544635-44100-2-c1b9431e68ec7.mp3

angelmunoz, to dotnet
@angelmunoz@misskey.cloud avatar

In one hand I feel sad that some lovely folks on F# twitter were laid out or their teams were disbanded, on the other hand, I feel that there's certain momentum in the F# community as I see more and more folks getting to try it out and talk about it, perhaps that ocaml popularity boom helped a lot here as well.

vascorsd, to random
@vascorsd@mastodon.social avatar
brab, to random
@brab@framapiaf.org avatar

The Weekly News for 2024-04-16 is out
https://alan.petitepomme.net/cwn/2024.04.16.html

leonidas, to random
@leonidas@mastodon.social avatar

The Dune team is looking to improve the developer experience to better align what you get with Go and Rust. We plan to run a Dune Developer Preview where you’ll be able to test drive and give us feedback on a revised user experience.

If you want to participate sign up here: https://forms.gle/UUG2VMmzbtZJQgU9A

shakthimaan, to productivity
@shakthimaan@mastodon.social avatar

OCaml Labelled and Optional Arguments Twitch video at https://www.youtube.com/watch?v=HsZ6q7Zf-QI (~ 28m) @ocaml_org https://www.twitch.tv/shakthimaan

brab, to random
@brab@framapiaf.org avatar

The Weekly News for 2024-04-09 is out
https://alan.petitepomme.net/cwn/2024.04.09.html

gregorni, to programming
@gregorni@fosstodon.org avatar

Somehow, I constantly experience a weird inner urge to learn OCaml 🐪 🤔

shakthimaan, to UX
@shakthimaan@mastodon.social avatar

Updates to OCaml.org's Learn Section: Enhancing UI and UX https://tarides.com/blog/2024-04-03-updates-to-ocaml-org-s-learn-section-enhancing-ui-and-ux/ @tarides_

dinosaure, to random French
@dinosaure@mastodon.social avatar

I finally made the release of , a simple scheduler for : https://discuss.ocaml.org/t/ann-miou-a-simple-scheduler-for-ocaml-5/12963/14?u=dinosaure

I really would like promote also the book we written available here: https://robur-coop.github.io/miou/ which explains everything to know about Miou, schedulers, parallelism and asynchronicity. Happy hacking!

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