LeetCode 224. Basic Calculator in F#
URL
https://leetcode.com/problems/basic-calculator/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0224/main.fsx
let rec number (cs: char list) (acc: int64) : char list * int64 =
match cs with
| [] -> [], acc...
syohex.hashnode.dev2 min read