This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Why does this give a circular dependency error? | |
dep( [C, D] <- [A, B] ) { sys do something } | |
dep( E <- [C, D] { sys do something } | |
goal( E ) | |
# When this does NOT give a circular dependency error! | |
dep( C <- [A, B] ) { sys do something } | |
dep( E <- C ) { sys do something } | |
goal( E ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Proof-of-concept test of hts-nim flagstat. Not a production piece. | |
# Nim Compiler Version 0.19.0 | |
# nim c -d:realease | |
import hts | |
import strutils | |
type | |
CountArray = array[0..1, int] | |
proc main(): int = |