Zulip Chat Archive

Stream: general

Topic: Messages appear in strange place.


Asei Inoue (Apr 29 2024 at 10:02):

def foo (n : Nat) : Nat := n

/--
info: hey!
10
-/
#guard_msgs in
#eval foo (dbg_trace "hey!"; 10)

/--
info: Try this: exact USize.size
---
info: hey!
18446744073709551616
-/
#guard_msgs in
#eval foo (dbg_trace "hey!"; by exact?)

-- ↓  I don't know why the message appears at `/--`.

/-- info: 18446744073709551616 -/
#guard_msgs in
#eval foo (by dbg_trace "hey!"; exact USize.size)

Last updated: May 02 2025 at 03:31 UTC