# LLM Prompt for Documentation ## Documentation ### Art #### str_to_art **Type Annotation** ```roc Str -> Str ``` **Description** Converts a string to an ASCII art representation. The art is a single string with newline chars. #### str_to_art_lines **Type Annotation** ```roc Str -> List Str ``` **Description** Converts a string to a ASCII art as a list of the horizontal lines which compose the art. New line chars are not included. #### str_to_art_trimmed **Type Annotation** ```roc Str -> Str ``` **Description** Converts a string to an ASCII art representation. Same as strToArt, but removes the top and bottomw lines if they are empty. #### str_to_letters **Type Annotation** ```roc Str -> List AsciiLetter ``` **Description** Converts a string to a list of AsciiLetter objects. #### letters_to_art_lines **Type Annotation** ```roc List AsciiLetter -> List Str ``` **Description** Converts a list of AsciiLetter objects to ASCII art as a list strings for each horizontal line of the art. #### letters_to_art **Type Annotation** ```roc List AsciiLetter -> Str ``` **Description** Converts a list of AsciiLetter objects to ASCII art as a single string with newline chars dividing horizontal lines. ### Letters #### AsciiLetter **Type Annotation** **Description** ``` AsciiLetter : { rows : List (List U8), maxHeadOverlap: U8, maxTailOverlap: U8, } ``` #### char_to_ascii_letter **Type Annotation** ```roc U8 -> AsciiLetter ``` **Description** Convert a char byte to an AsciiLetter object. Possible chars are: - All letters (upper and lower case) - Numbers 0-9 - Space - Symbols: - ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~ #### empty_letter **Type Annotation** ```roc AsciiLetter ``` **Description** An empty AsciiLetter object with empty rows and 0 head and tail overlap.