Strings, lists, and sequences as a monoid

added by DotNetKicks
10/10/2017 12:29:40 PM

1 Kicks, 330 Views

In programming, text is often arranged in memory as a consecutive block of characters, one after the other. Thus, you could think of text as characters like pearls on a string. A program often reads such a consecutive block of memory until it reaches a terminator of some kind.