M. Lanza

Results 15 issues of M. Lanza

I have a `index.js` script which imports postgres drivers: ``` import { Client, Pool } from "https://deno.land/x/postgres/mod.ts"; ``` When running I get: ``` mlanza@Marios-MacBook-Air df-ex % denoflare serve hello-local Compiling...

# Feature request Currently Edge Functions must be written in TypeScript. This excludes a lot of existing JavaScript and libraries which could otherwise be bundled into an Edge Function. Support...

enhancement

# Bug report ## Describe the bug After logging into the client side in my browser: ```js supabase .from("tables") .select() .then(console.log.bind(console)); ``` The above returns my single record (just one...

bug

JavaScript has objects, arrays, dates, and sets. In regard to immutables, with the advent of records and tuples, objects now map to records, arrays to tuples, dates to temporals (soon...

In [#43](https://github.com/tc39/proposal-first-class-protocols/issues/43#issuecomment-1542107331) I asked how the syntax for invoking protocols would look. The answer provided was: ```js stooges[Functor.map](stooge => stooge.toUpperCase()) ``` This is unpleasant to look at. I find it...

In the following, I make a case for why protocols are better realized using functions [instead of methods](https://github.com/tc39/proposal-first-class-protocols/issues/43#issuecomment-1594990013). **TLDR: Methods rely on classes/inheritance and provide static polymorphism, protocols dynamic polymorphism....

I've been using [a library](https://github.com/mlanza/atomic) I wrote for nearly a decade now where I implemented protocols as one of it's central premises, because I find them so useful in how...

Let's start with the standard F# pipeline as implemented by Babel: ```js const a = x |> f(?, 1) |> g |> h ``` This gives you `a` where `x`,...

### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request I'm...

discussion

### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request **Zero...

discussion