mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-17 08:27:45 +03:00
14 lines
239 B
Plaintext
14 lines
239 B
Plaintext
(Project.config "file-path-print-length" "short")
|
|
|
|
(deftype Foo [bar Int])
|
|
(private Foo.bar)
|
|
|
|
(defmodule Foo
|
|
(defn get [foo]
|
|
(Foo.bar foo))
|
|
)
|
|
|
|
(defn boo [] @(Foo.bar &(Foo.init 1)))
|
|
|
|
(defn main [] (println* (Foo.bar &(Foo.init 1))))
|