diff options
Diffstat (limited to 'lib/collections.nom')
| -rw-r--r-- | lib/collections.nom | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/collections.nom b/lib/collections.nom index 4a40c0f..09fff10 100644 --- a/lib/collections.nom +++ b/lib/collections.nom @@ -15,12 +15,12 @@ macro [..] %index st to last in %list, %index nd to last in %list, %index rd to last in %list %index th to last in %list ..=: - ".."|compiler.utils.nth_to_last(\%list as lua\, \%index as lua\) + ".."|nomsu.utils.nth_to_last(\%list as lua\, \%index as lua\) macro [first in %list, first %list] =: ".."|\%list as lua\[1] macro [last in %list, last %list] =: - ".."|compiler.utils.nth_to_last(\%list as lua\, 1) + ".."|nomsu.utils.nth_to_last(\%list as lua\, 1) # Dict iteration convenience function. This could also be accomplished with: for all (entries in %dict): ... macro block [for %key -> %value in %dict %body] =: |
