mirror of
https://github.com/luau-lang/luau.git
synced 2025-03-04 03:01:41 +00:00
8 lines
292 B
Agda
8 lines
292 B
Agda
module Luau.Addr.ToString where
|
|
|
|
open import Agda.Builtin.String using (String; primStringAppend)
|
|
open import Luau.Addr using (Addr)
|
|
open import Agda.Builtin.Int using (Int; primShowInteger; pos)
|
|
|
|
addrToString : Addr → String
|
|
addrToString a = primStringAppend "a" (primShowInteger (pos a))
|