We use cookies to distinguish you from other users and to provide you with a better experience on our websites. Close this message to accept cookies or find out how to manage your cookie settings.
Free/open-source softwareTidal Cycles (or 'Tidal' for short) is a free/open source live coding environment for algorithmic patterns, written in Haskell. Tidal is using SuperCollider, another open-source software, for synthesis and I/O. Pattern everythingTidal Cycles allows you to make patterns with code. It includes language for describing flexible (e.g. polyphonic, polyrhythmic, generative) seque
struct User { let name: String let age: Int } // birthday(user: User(name: "Anton", age: 33)) = User(name: "Anton", age: 34) func birthday(user: User) -> User { // Calls Haskell function... } To support this workflow, we need a way to convert the User datatype from Haskell to Swift, and vice versa. We are going to serialize (most) inputs and outputs of a function. Even though the serialization as
Action Array-oriented Automata-based Concurrent computing Actor-based Choreographic programming Multitier programming Relativistic programming Structured concurrency Data-driven Data-oriented Declarative (contrast: Imperative) Functional Functional logic Purely functional Logic Abductive logic Answer set Concurrent logic Functional logic Inductive logic Constraint Constraint logic Concurrent const
Why is Prettier rock solid?I've always wondered why Prettier is so good. Yes, it learnt from gofmt what to do (note that gofmt doesn't indent, which is the hard part). Yes, it was announced in a real life conference, which helped get the initial momentum behind it. All that is fine, but what was a bit inexplicable to me is its quality. You might disagree with the defaults (I like them. The only on
About this book Looking for reviews and mentions? Click here. In this book, we will implement a simple static blog generator in Haskell, converting documents written in our own custom markup language to HTML. We will: Implement a tiny HTML printer library Define and parse our own custom markup language Read files and glue things together Add command line arguments parsing Write tests and documenta
{-# LANGUAGE EmptyDataDecls #-} module Hello where import FFI data Event alert :: String -> Fay () alert = ffi "alert(%1)" setBodyHtml :: String -> Fay () setBodyHtml = ffi "document.body.innerHTML = %1" addWindowEvent :: String -> (Event -> Fay ()) -> Fay () addWindowEvent = ffi "window.addEventListener(%1, %2)" greet :: Event -> Fay () greet event = do putStrLn "The document has loaded" setBodyH
fay: A compiler for Fay, a Haskell subset that compiles to JavaScript. Fay is a proper subset of Haskell which is type-checked with GHC, and compiled to JavaScript. It is lazy, pure, has a Fay monad, an FFI, tail-recursion optimization (experimental), and support for cabal packages. Documentation See https://github.com/faylang/fay/wiki Examples See the examples directory and https://github.com/fay
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く