Commit Graph

3 Commits

Author SHA1 Message Date
Peter Kofler
ab84d1696c Replace complete test with sample test. 2023-12-07 13:07:18 +01:00
Kieran
0c61f88ffc
Used consistant calling syntax in tests 2020-10-16 19:12:05 +08:00
Kieran
908055ba3e
Gilded rose in Nim
- I've started with a small refactor, Command to function. This was done as
   the most obvious way to do it (to me) as in the original, would not compile
   in Nim due to violating memory lifetimes. I could have made it take a
   ref seq[Item], but then I would need to instatiate a ref seq and I didn't
   want to make a change that drastic. Also due to Nim's UFCS, the ultimate
   implementation would be basically the same anyway.
2020-10-16 18:59:43 +08:00