Skip to content

Commit

Permalink
Update Debug.mint
Browse files Browse the repository at this point in the history
  • Loading branch information
gdotdesign committed Nov 25, 2024
1 parent ded1b46 commit 0b33481
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/source/Debug.mint
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ module Debug {
Returns a nicely formatted version of the value. Values of Mint types
preserve their original name.
Debug.inspect("Hello World!") -> "Hello World!"
Debug.inspect(Maybe.Nothing) -> Maybe.Nothing
Debug.inspect({ name: "Joe", age: 37 }) -> User { name: "Joe", age: 37 }
Debug.inspect("Hello World!") // "Hello World!"
Debug.inspect(Maybe.Nothing) // Maybe.Nothing
Debug.inspect({ name: "Joe", age: 37 }) // User { name: "Joe", age: 37 }
*/
fun inspect (value : a) : String {
`#{%inspect%}(#{value})`
Expand Down

0 comments on commit 0b33481

Please sign in to comment.