cost 104 ms
How to sum a number in a list

My question is : I have a list and a number and I want to sum the number to the list so I can do this and it works. My question is I want to add ...

SML with lazy list function

I'm trying to make a function which can return the specific nth element of lazylist. Here is what I made: I expected the result that as recusing p ...

2018-04-02 09:17:42   1   178    sml / lazylist  
Ocaml use match with lazylist

I am trying to fill ma lazylist by unpaired elements (with recursion), starting with element k. For example: k = 2, list is [2,3,5,7,9,...] The code: ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM