-
-
```
$ npm install js-slang
npm ERR! code 1
npm ERR! path /xxxx/xxxx/node_modules/gpu.js/node_modules/gl
npm ERR! command failed
npm ERR! command sh -c prebuild-install || node-gyp rebuild
npm…
-
-
https://github.com/source-academy/js-slang/blob/56d8d6bda84e174d0a9dc33981eeea1cb3d76141/docs/lib/list.js#L240-L248
The append function does not type check if the input list is even a list, when I …
-
In your paper, it says, "In practice, we terminate the scanning once the
overall confidence does not improve any more. That is, the acquisition
completes when the global confidence difference betwee…
-
I mean the one you wrote to test the Lisp Machine microcode compiler. I'd like to read it and learn from it.
Thanks.
-
通过函数组合,可以用这种方式写代码:
1. 写一堆很小的函数,每个函数完成一个功能,方便测试
2. 通过组合(compose andThen)多个小函数,实现更大的功能
3. 组合的函数越来越大
```Scala
type SocketFactory = SocketAddress => Socket
val addressToInet: SocketAddress => …
-
Four videos I pull togather:
[Google I/O 2013 - Web Components in Action](https://www.youtube.com/watch?v=0g0oOOT86NY)
[Recursive Drawing](http://vimeo.com/41822151)
[Drawing Dynamic Visualizations](h…
tiye updated
11 years ago
-
Assuming a very long comment line in a racket file, like:
; This is a very long line, is there some kind of automatic tool that would chop this to chunks of a reasonable length for me?
I wou…
-
中午和人聊过些东西, 再次明确学 FP 不是为了用 FP 的语言写程序,
而是用从 FP 语言里学来的东西去丰富实际用动态语言开发的技能
我是 JS, 换别人是其他语言. 而我也挺遗憾 FP 语言没有动态语言的方便
之后想到, 编程语言, 作为语言, 她的积累都没有被我们主动去完成
随着学习, 人们积累和丰富了自身的技能, 并且会在博客里留下文档介绍给其他人
或者就是写新的模块, 这对于语言的传…
tiye updated
11 years ago