andywhite37 / blog Goto Github PK
View Code? Open in Web Editor NEWSource code for my personal website
Home Page: https://andywhite.xyz
License: MIT License
Source code for my personal website
Home Page: https://andywhite.xyz
License: MIT License
I guess you meant "function" here:
https://github.com/andywhite37/blog/blame/master/content/posts/2019-11-01-a-laymans-guide-to-functors-in-reasonml.md#L231
Cool blog post! Was reading through it had a question and noticed a bug in example code:
...
before the map call: | [head, ...tail] => [f(head), ...map(f, tail)]
on L393map(id, fa) == fa;
(not ===
)? ==
is structural equality, and your List
functor fails the law as written: sketchIf sketch.sh ends up having an embeddable editor/compiler, it would be cool to just allow editing of code inline.
I'm not in love with the serif font for the main content, so it would be nice to try some others.
Maybe it can start as a fork of the hugo-coder theme, and if I can figure out a way to make it configurable, maybe a pull request.
Right now, the templates are very minimalistic, which I like, but it might be nice to have a little more info, like maybe:
Maybe check some other sites to see what other useful info to put there.
It would be cool if code examples could be auto-linked to a sandbox site like https://reasonml.github.io/try, https://sketch.sh (or whatever the BuckleScript site ends up being).
The Try Reason site should probably be pretty easy - you just have to encode your code as a query param.
I think I'm currently using Hugo's built-in Chroma formatter, which does okay using ocaml
as the language, but the highlighting gets weird in comments.
I'm not sure if there are any good ReasonML formatting stylesheets, but it would be worth a look.
It would be nice to be able to link to the headings in blogs. I would think this would be easy to add in the hugo templates.
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.