package asai
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
This module provides functions to display or interact with diagnostics in UNIX terminals. A message will look like this:
๐ญ examples/stlc/example.lambda โ 1 โ (check (ฮป รค (ฮป 123 2 โ sdaf)) (โ โ (โ โ โ))) โ 20 โ ahhhhhhhhhhhhhhhhhh 21 โ noooooooooooooooooo โท [E002] Why am I checking the term (โ โ (โ โ โ)), which looks amazing?
Parameters
module Code : Diagnostic.Code
Signature
val display :
?show_backtrace:bool ->
?line_breaking:[ `Unicode | `Traditional ] ->
?block_splitting_threshold:int ->
?tab_size:int ->
Code.t Diagnostic.t ->
unit
display d
prints the diagnostic d
to the standard output, using terminal control characters for formatting. A message will look like this:
๐ญ examples/stlc/example1.lambda โ 1 โ (check (ฮป รค (ฮป 123 2 โ sdaf)) (โ โ (โ โ โ))) โ 20 โ ahhhhhhhhhhhhhhhhhh 21 โ noooooooooooooooooo โท ๐ญ examples/stlc/example2.lambda โ 3 โ let x = 1 // additional information 4 โ let y = 1 โท ๐ญ examples/stlc/example3.lambda โ 8 โ assert (asai is cool) โท [E002] Why am I checking the term (โ โ (โ โ โ))?
val interactive_trace :
?line_breaking:[ `Unicode | `Traditional ] ->
?block_splitting_threshold:int ->
?tab_size:int ->
Code.t Diagnostic.t ->
unit
interactive_trace d
drops the user in a small interactive terminal app where they can cycle through the message provided in d
and its backtrace.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page