mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-17 16:38:14 +03:00
12 lines
152 B
Plaintext
12 lines
152 B
Plaintext
|
(deftype A [])
|
||
|
|
||
|
(defmodule A
|
||
|
(sig drop (Fn [(Ref A)] ()))
|
||
|
(defn drop [a]
|
||
|
(IO.println "Hi from drop!"))
|
||
|
)
|
||
|
|
||
|
(defn main []
|
||
|
(let [a (A)]
|
||
|
()))
|