I've got a 'test type' project now, god help me.

What does a type with two unapplied generics look like in macro-time so I can winkle out the declaration names in order?

It's hard work.

#DevLog #Haxe

@delta @pixelschubsi @adbenitez

I absolutely agree, that "a cross-platform mass-user focused app with a consistent UX across the platforms" is missing desperately in the #Jabber/#XMPP ecosystem.

There are really good clients for Jabber, but none of them fits above description.

AFAIK, both #Snikket/#Borogove by @snikket_im and #Fluux by @ProcessOne try to close that gap.

Still, I prefer the approach of Delta building on #Rust and #Tauri, instead of #Haxe or #Typescript. #YKINMKBYKIOK.

So now my scheduler debug traces look like this:

#DevLog #Haxe

A simpler EDN grammar for Haxe, formatting via borkdude's Jet.
It suits far better than Json for representing call hierarchies and such.

#DevLog #Haxe

#Haxe Roundup 733 https://haxe.io/roundups/733/ is out!

Fiberus GC update and Q&A.

Dts2hx update!

Lots of open source releases!

Plus the latest articles, core updates & more from the Haxe community! 🔥

Haxe Roundup 733

This is the best way of papering over the cracks in Haxe's constructor story and import system.

write a static function called cook, it returns an object with the type name as a field, and a tuple of constructors as values.

somewhere else call cook().cons(cook()).cons(cook), and that's a fully typed entry point for the constructors you want exposed.

https://codeberg.org/ohmrun/cook

#Haxe #DevLog

ay, golden.

#Haxe #DevLog

perfect.

#DevLog #Haxe

This is so cool.

It's possible to do open ended Tuples in Haxe by using Church encoding.

I'm using this to index constructors but it would go for anything.

It uses a Church like encoding to keep a record of the type of all previous values.

It acts almost exactly like a linked list, each previous value is of a known, and independent type, just call `get()` for the value or `previous()` as many times as you need.

#Haxe #DevLog

I've had a bloody good week, and done a cool thing, but I couldn't honestly tell you what it's called.

I've got a way of encapsulating the type of constructors using only two continuation monads and a null check for each constructor.

Done and tested.

It's a partial function for constructors where it's unnecessary to specify explicitly the constructor arguments for any given type, and yet the input remains strongly typed, and indefinitely expandable.

It's fkn awesome.

#Haxe #DevLog