Skip to content

04-diagnostics

Source: examples/04-diagnostics.metta

Imports

  • math
  • no-such-module

Symbols

SymbolKindType
add2function(-> Number Number Number)
bad-hashfunction(bad-hash $x)
free-varfunction(free-var $x)
greetfunction(greet)
trapfunction(trap)
uses-typofunction(uses-typo $x)
widgetconstantNoSuchType

Functions

add2

Kind: function

metta
(: add2 (-> Number Number Number))

Source: examples/04-diagnostics.metta:22

bad-hash

Kind: function

metta
(bad-hash $x)

Source: examples/04-diagnostics.metta:44

free-var

Kind: function

metta
(free-var $x)

Source: examples/04-diagnostics.metta:56

greet

Kind: function

metta
(greet)

Source: examples/04-diagnostics.metta:29

trap

Kind: function

metta
(trap)

Source: examples/04-diagnostics.metta:49

uses-typo

Kind: function

metta
(uses-typo $x)

Source: examples/04-diagnostics.metta:15

Constants

widget

Kind: constant

metta
(: widget NoSuchType)

Source: examples/04-diagnostics.metta:18

Released under the Apache-2.0 License.