-
### The problem
Here's the translation to English:
I have Zigbee devices such as lamps and smart switches connected to a regular power outlet, which is controlled by a normal switch. This means th…
-
Such that `if e then f else g` would desugar to `ifThenElse e (\_ -> f) (\_ -> g)`. Then, add an inliner rule for `Data.Boolean.ifThenElse`. This could make for some interesting DSLs, such as HOAS, an…
-
## Compiler version
3.3.0
## Minimized code
```Scala
import scala.quoted.*
def testExprImpl(body: Expr[Any])(using Quotes): Expr[String] =
body match
case '{ (a:Int) => (${'{1…
-
> It's worth noting that native_compute performs significantly worse than OCaml HOAS, though the two should be similar; probably native_compute does not use flambda optimization options at all.
Ind…
-
[lambda-n-ways](https://github.com/sweirich/lambda-n-ways) contains lots of useful test suites for normalizing huge lambda terms. Even though it may not be possible for us to accurately compare our im…
-
The final `unshadow` in test/Auto.hss comes too late, after conversion of lambda-bound variables into reified form. At that time, variables aren't variables, so unshadowing doesn't help.
conal updated
10 years ago
-
### Describe the bug 描述你遇到的错误
网站主页中个人头像为本地头像,在`/static/images/`中且可以显示出来,点击下方的`2`进入第二页后头像就显示不出来了,详见:https://hoas.top/page/2/
### Expected behavior 期待的行为
第二页开始头像显示正常。
### Build Environment 构…
-
First of all Congratulations on your purescript-incremental-functions / purescript-purview. You've managed to completely eliminate the need for virtual dom diffing. However it seems like the entire do…
-
That would happen whenever a `Tensor` class code is instantiated to the `Ast` instance, in the same step that vectorization happens (I'm not sure how these two would interleave). This would transform …
-
Abella offers a great HOAS system for PL proofs. However, projects developed in Abella seems to have much more SLOC compared with (more or less) equivalent proof written in Coq.
Sometimes a simple …