Logo

Programming-Idioms

History of Idiom 169 > diff from v24 to v25

Edit summary for version 25 by kodin:
New Haskell implementation by user [kodin]

Version 24

2018-02-14, 22:18:33

Version 25

2018-02-16, 23:51:20

Idiom #169 String length

Assign to integer n the number of characters of string s.

This can be different from the number of bytes of s.

Idiom #169 String length

Assign to integer n the number of characters of string s.

This can be different from the number of bytes of s.

Extra Keywords
size
Extra Keywords
size
Code
n = length s
Doc URL
http://hackage.haskell.org/package/base-4.10.1.0/docs/Prelude.html#v:length