@coriander i almost named it tribbons (tiny ribbons) and then realized i was accidentally being very crass
@coriander little ribbons
re: javascript
@wallhackio fair
re: javascript
@wallhackio we are watching a movie
re: javascript
@wallhackio .bind chaining
[verse 2: turning machine. it uses a british accent]
when it comes to the languages you inspired, their adoption has been quite weak
and their syntax is bizarre! seems like, greek to me!
javascript
class Monorail {
#value;
#size = 1;
constructor(value) {
this.#value = value;
}
bind(f) {
const newThis = f(this.#value);
if (newThis.#size < this.#size + 1) newThis.#size = this.#size + 1;
console.log(`the glaceon is now ${newThis.#size} meters tall`);
return newThis;
}
};
@monorail you can build an interface around a list such that everything using that interface is purrfurming non-deterministic computations, BUT, if you do arbitrary shit to a list directly, you don’t have the guarantee that that abstraction will make any sense
@monorail yeah, not all use cases fur list make sense as a monad. this is actually why it's impurrtant imo to sepurrate the data type from a monad built around it
@Lady no?
@Lady seems to be working pretty ok fur alpine
@monorail a n y w a y look into monadic parsing sometime it's very cool
@monorail if you ever look into coding a monadic parser with nondeterministic output i think the idea of list-monad-as-parallel-universes might click into place fur you
pedantry
@monorail the data types are not monads; the data type and the implementations of the wrapper and the runner functions are what constitute a monad. i mention this because i know of two monads on List; similarly, you could feasibly define two very diffurent kinds of monads around lazy evaluation
it’s pronounced “ashling”. canonically a black housecat or any of the grass cat pokémon, but currently experiencing daily TFs. Commewnist. it/she and more. i automatically change my pfp on the furst post of the day
GlitchCat syscatmin and meowstodev; @ me about techincal problems with the instance, or fur feature requests. i got a job due to some extent to my work on this instance
i am the kind of furry who is a weirdo horny freak (affectionate) about it but i don’t talk about that much on this account
available via email with the same username and domain. DM/email for other purrotocols
workplace policy is to clarify that all of my opinions expressed here are my own, and not those of my employer