View Source cure_show_native (cure v0.1.0)
Native Erlang implementations of Show trait functions for Cure.
Provides efficient primitive-to-string conversions for the Show trait system.
Summary
Functions
Convert an atom to its string representation.
Convert a boolean to its string representation.
Escape special characters in a string and wrap in quotes.
Convert a float to its string representation.
Convert an integer to its string representation.
Check if value is an atom (for Cure pattern guards).
Check if value is a boolean (for Cure pattern guards).
Check if value is a float (for Cure pattern guards).
Check if value is an integer (for Cure pattern guards).
Check if value is a list (for Cure pattern guards).
Check if value is a string/binary (for Cure pattern guards).
Check if value is a tuple (for Cure pattern guards).
Convert a list to its string representation.
Convert list elements to comma-separated string representations.
Convert a tuple to its string representation. Only handles tuples up to size 5 for now.
Functions
Convert an atom to its string representation.
Convert a boolean to its string representation.
Escape special characters in a string and wrap in quotes.
Convert a float to its string representation.
Convert an integer to its string representation.
Check if value is an atom (for Cure pattern guards).
Check if value is a boolean (for Cure pattern guards).
Check if value is a float (for Cure pattern guards).
Check if value is an integer (for Cure pattern guards).
Check if value is a list (for Cure pattern guards).
Check if value is a string/binary (for Cure pattern guards).
Check if value is a tuple (for Cure pattern guards).
Convert a list to its string representation.
Convert list elements to comma-separated string representations.
Convert a tuple to its string representation. Only handles tuples up to size 5 for now.