Talk:Flatten a list: Difference between revisions

From Rosetta Code
Content added Content deleted
(Common Lisp and Empty Lists?)
 
Line 1: Line 1:
==Common Lisp and Empty Lists?==
==Common Lisp and Empty Lists?==
The comment after the CL example seems to imply that it would not work with the example list given, which includes nested lists that contain an empty list. It would therefore not satisfy the task? --[[User:Paddy3118|Paddy3118]] 00:50, 17 August 2009 (UTC)
The comment after the CL example seems to imply that it would not work with the example list given, which includes nested lists that contain an empty list. It would therefore not satisfy the task? --[[User:Paddy3118|Paddy3118]] 00:50, 17 August 2009 (UTC)


==OCaml and Empty lists?==
I am curious about the Ocaml entry and its problem with empty lists. Is their not some way of telling the type system to expect one of two types? --[[User:Paddy3118|Paddy3118]] 00:58, 17 August 2009 (UTC)

Revision as of 00:58, 17 August 2009

Common Lisp and Empty Lists?

The comment after the CL example seems to imply that it would not work with the example list given, which includes nested lists that contain an empty list. It would therefore not satisfy the task? --Paddy3118 00:50, 17 August 2009 (UTC)


OCaml and Empty lists?

I am curious about the Ocaml entry and its problem with empty lists. Is their not some way of telling the type system to expect one of two types? --Paddy3118 00:58, 17 August 2009 (UTC)