From 1dd183d8124f7661756ed1ed44b880f829083419 Mon Sep 17 00:00:00 2001 From: Leonetienne Date: Sat, 5 Jun 2021 12:39:59 +0200 Subject: [PATCH] Updated behaviour in readme --- readme.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index b6828f2..91bb006 100644 --- a/readme.md +++ b/readme.md @@ -67,7 +67,7 @@ $ a.out --foo 5.5 # String $ a.out --foo peter -# List (any type above works) +# List (any type above works, except void) $ a.out --foo peter jake jeff billy # List, mixed types @@ -211,10 +211,11 @@ These conversions are: * float ->[int, string, list, void] * string -> [list, void] * list -> [void] -* void -> [list] +* void -> [list, string] The conversions `*->list` just create a list with a single entry (except for `void->list` which produces an empty list). -The `*->void` conversions just drop their value. +The `*->void` conversions just drop their value. +`void->string` just produces an empty string. Minimal working example: ```cpp