Giter Club home page Giter Club logo

chrispenner.github.io's People

Contributors

chrispenner avatar cpenner-va avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

chrispenner.github.io's Issues

Cropped code view on mobile

Hi, I was reading the post on Traversal Systems and found that some code examples were cropped and not scrollable.

Screenshot_20201013-101334

This seems to only happen to samples without syntax highlighting. All Haskell code samples fit correctly in the screen and scrolled horizontally as expected.

The screenshot was taken on a Chrome Browser in a 5.5 inch phone running stock Android 11.

Broken links

"ALSO ON CHRIS PENNER FP" links (bottom of each post page) go to:

chrispenner.com/post/xxxxxx (missing an s in posts)

instead of:
chrispenner.com/posts/xxxxxx

bug

A question about the hkd-options blogpost

Hi @ChrisPenner !
I just read your blogpost about hkd-options with great interest. Very inspiring!

One thing that came to my mind is: Inside each config source function you're re-using the keys of the product type as strings.
Would you know of a way to obtain them generically? Probably one would use some string conversion functions on them, like converting them to snake case for the env vars for instance.

I would know how to do this by manually writing a type class operating on the generic representation of the data type. But I could not find a way to do it with the barbies library. I was looking for some withIndex implementations, bu no luck.

This exists:

bTraverse :: (forall a. f a -> e (g a)) -> b f -> e (b g)

But something like this I could not find:

bTraverseWithIndex :: (forall a. sym -> f a -> e (g a)) -> b f -> e (b g)

The latter has an additional sym argument, which could be reflected to String.

Is something like this just not implemented or do you know of another way to archive this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.