Clojure
Joy Clark: Hello, everyone, and welcome to a new conversation about software engineering. こんにちはみなさん。ソフトウェア工学についての今回の会話にようこそ。This is Joy Clark, and today on the CaSE Podcast I'm going to be talking to Rich …
This guide covers: このガイドでは以下を扱う
Namespaces are mappings from simple (unqualified) symbols to Vars and/or Classes. 名前空間は、シンプルな(修飾されていない)シンボルからVarおよび/またはClassへのマップである。Vars can be interned in a namespace, using def or any of its va…
Clojure has a programmatic macro system which allows the compiler to be extended by user code. Clojureにはプログラムによるマクロシステムがあり、それによって、ユーザのコードによりコンパイラを拡張できる。Macros can be used to define syntacti…
Syntax Functions Sequential Collections Hashed Collections Flow Control
Getting started 始め方 The spec library specifies the structure of data, validates or destructures it, and can generate data based on the spec. specライブラリを用いると、データの構造のスペックを書くことができる。また、データを検証したり分…
Statements vs. Expressions 文と式との違い In Java, expressions return values, whereas statements do not. Javaでは、式は値を返し、文は値を返さない。
As described in the previous section, there are four key Clojure collection types: vectors, lists, sets, and maps. 前回の節で述べたように、Clojureには4つの重要なコレクション型がある。ベクタ、リスト、セット、マップである。Of those four coll…
Clojure collections "collect" values into compound values. Clojureのコレクションとは、任意個の値を集めて(コレクトして)、1つの複合的な値としたものだ。There are four key Clojure collection types: vectors, lists, sets, and maps. Clojureにお…
Creating Functions 関数を作る Clojure is a functional language. Clojureは関数型言語の一つだ。Functions are first-class and can be passed-to or returned-from other functions. 関数は第一級であり、他の関数に渡されたり、関数から返されたりする…
Literals リテラル Below are some examples of literal representations of common primitives in Clojure. Clojureで一般的な基本要素らのリテラル表現のいくつかの例を次に示す。
Welcome to Clojure! Clojureにようこそ! Check out Learn Clojure, Resources, or Books for learning the language! Clojureを学ぶにあたっては、Learn Clojure、Resouces、Booksが便利かもしれません。
Is reduce1 not in the clojure.core? reduce1はclojure.coreの中にないのですか? I am using Emacs with CIDER and i don't have reduce1, (doc reduce1) returns nil. 私はEmacsでCIDERを使っているのですが、reduce1がありません。(doc reduce1)とすると…
https://aphyr.com/posts/305-clojure-from-the-ground-up-macros In Chapter 1, I asserted that the grammer of Lisp is uniform: every expression is a list, beginning with a verb, and followed by some arguments. 第1章で強調したとおり、Lispの文…
Clojure 1.0 was released today. Clojure 1.0が今日リリースされた。For those who care about version numbers, this should be good news. バージョン番号を気にする人達にはいいニュースだろうね。Clojure has been good and "ready" for a good while i…
How do I get started? まずどうすれば?