chrispenner / chrispenner.github.io Goto Github PK
View Code? Open in Web Editor NEWBasic Website
Basic Website
Hi, I was reading the post on Traversal Systems and found that some code examples were cropped and not scrollable.
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.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.