kylegoetz

Results 29 issues of kylegoetz

I have a project with this structure ``` root src index.ts config.ts tsconfig.json .babelrc ``` I'm using tsconfig paths so that in my code from any subdirectory I can use...

In the codebase, it appears the capitalization for various modules is that if it's a primitive (`string`, e.g.), the module is `fp-ts/string` but if it's a non-primitive, it's capitalized (`Record`,...

## 🚀 Feature request It's quite common to have to write something that extracts a defined set of props from a record like: ```typescript declare const o: Record pipe( o,...

## 🚀 Feature request ### Current Behavior Json.stringify(new BigInt(....)) errors out because there is no defined behavior for stringifying BigInt. ### Desired Behavior That this does not fail. The standard...

## 🐛 Bug report Consider the code ``` const getMonoidSame: () => Monoid = () => ({ empty: undefined, concat: (a, b) => a === b ? a : undefined,...

## 📖 Documentation I'm used to using this package and `monocle-ts` together to enable me to traverse over arrays. Typically I do `const itemTraversal = fromTraversable(array)()` to construct the traversal,...

I suggest there should be an auth middleware example. I'm developing my own but wondering about thoughts on best practices. Assume we have ``` interface AuthenticationOpen { readonly AuthenticationOpen: unique...

I wanted to be able to send files with hyper-ts but there was no way to use it natively. I had to write Express code and then use `fromRequestHandler` to...

Can we add an example for how to send a file to the user? I would do it, but I am struggling to figure out how. I was thinking about...

I think the Middleware monad, like Option/Either/etc. should have a `fold: (left:(e:E)=>B, right:(a:A)=>B) => (a:Middleware) => Middleware`. A motivating use case is when you might or might not have a...