litany:任何语言的文学编程

时间:2024-07-31 10:45:01
【文件属性】:

文件名称:litany:任何语言的文学编程

文件大小:9KB

文件格式:ZIP

更新时间:2024-07-31 10:45:01

Haskell

连祷 任何语言的文学编程。 .lit 文件是一个文学编程源文件,也是一个存档文件。 让我们通过一个例子来解释,可以在examples/hsjs.lit找到。 How would we write this [[begin haskell haskell/a.hs]] sum = foldl (+) [1,2,3] [[pause haskell haskell/a.hs]] in JavaScript with the help of underscore? Here's how: [[begin javascript javascript/a.js]] var sum = _.reduce([1, 2, 3], function(memo, num){ return memo + num; }, 0); [[pause javascript javascript/a.js]] Ho


【文件预览】:
litany-master
----Litany.hs(6KB)
----readme.md(2KB)
----LICENSE(1KB)
----Fibers.hs(848B)
----examples()
--------haskell()
--------hsjs.md(670B)
--------javascript()
--------hsjs.lit(821B)
----Types.hs(739B)
----FenceParser.hs(1KB)
----Main.hs(2KB)

网友评论