How can i write this function simply? (in Scheme (Gauche))(a0bc0 a0bc1 a1bc0
-- Given a string 'a.bc.' -- each dot(.) is to be replaced with 0 or 1.
-- So the value is a list of 4 strings:
-- The order is not important.
If the string has 3 dots, the value is a list of length 8.
If the program is going to be simpler,
pls use, say, (a $ b c $) rather than 'a.bc.'
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 388 |
Nodes: | 16 (2 / 14) |
Uptime: | 10:18:14 |
Calls: | 8,221 |
Files: | 13,122 |
Messages: | 5,872,709 |