Skip to content

Instantly share code, notes, and snippets.

View hyp3rflow's full-sized avatar
🥽

flow hyp3rflow

🥽
View GitHub Profile
@hyp3rflow
hyp3rflow / partial_evaluation.md
Created August 19, 2023 08:40 — forked from tomykaira/partial_evaluation.md
Partial Evaluation, Futamura Projection And Their Applications

Partial Evaluation, Futamura Projection And Their Applications

What Partial Evaluation Is?

Partial evaluation means to fix some variables in the given code before execution. With a traditional implementation of a compiler or an interpreter, all variables are replaced with its value on each evaluation of that variable. This is because a variable can change at any timing. This is, however, not always true in actual applications. Almost all of large applications has setting variables and data

@hyp3rflow
hyp3rflow / Forcomptran.md
Created May 27, 2023 06:27 — forked from loicdescotte/Forcomptran.md
Scala for comprehension translation helper

Scala for comprehension translation helper

"For comprehension" is a another syntaxe to use map, flatMap and withFilter (or filter) methods.

yield keyword is used to aggregate values in the resulting structure.

This composition can be used on any type implementing this methods, like List, Option, Future...

@hyp3rflow
hyp3rflow / glam-for-css-folks.md
Created September 4, 2022 07:38 — forked from threepointone/glam-for-css-folks.md
why css purists will love glam

I made a little styling lib called glam

(some features are in development)

one

let's start off with the simplest use case. we'll make an 'index.html' page, and assume we've setup our js bundler to output bundle.js