mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-16 06:45:44 +08:00
11 lines
283 B
Agda
11 lines
283 B
Agda
|
module Luau.Value.ToString where
|
||
|
|
||
|
open import Agda.Builtin.String using (String)
|
||
|
open import Luau.Value using (Value; nil; addr)
|
||
|
open import Luau.Addr.ToString using (addrToString)
|
||
|
|
||
|
valueToString : Value → String
|
||
|
valueToString nil = "nil"
|
||
|
valueToString (addr a) = addrToString a
|
||
|
|