Benedikt Grundmann

Results 4 comments of Benedikt Grundmann

I would love to have `.[aoptionalclassname]` rationale: when using bulma I sometimes want to apply one of the Color modifier classes (is-primary, is-danger) computed at runtime, sadly the neutral Color...

> @bgrundmann does `.is-primary[state == State::Primary].is-danger[state == State::Danger]` work for you? Sorry for the late reply my GitHub email notifications got lost in my inbox. Yeah that works. That said...

Relevant language features in other languages, seem to be polymorphic variants in OCaml. And of course exceptions in OCaml and SML. Ignore the fact that exceptions are thrown in OCaml...

An explanation of the representation can be found here: https://dev.realworldocaml.org/runtime-memory-layout.html