cost 482 ms
Issues with foldl in ghci

Trying this in ghci: foldl (:) [1] [2,3,4] which gives the following error: But the same thing works with foldr foldr (:) [1] [2,3,4] which out ...

2023-01-11 08:26:09   1   39    haskell / ghci  
Having trouble activate Stack

I'm a newbie here also at programming in general. I just installed Stack via curl but got stuck at 'stack setup.' Although the terminal shows the Stac ...

Making substring conditions

I'm trying to implement a subString function which has a conditional part: "This function can accept negative start and end position. Negative start ...

2022-04-22 09:30:41   2   105    haskell / ghci  

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