Mercurial Hosting > luan
comparison src/luan/modules/which.luan @ 775:1a68fc55a80c
simplify dir structure
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 26 Aug 2016 14:36:40 -0600 |
parents | core/src/luan/modules/which.luan@ca169567ce07 |
children |
comparison
equal
deleted
inserted
replaced
774:3e30cf310e56 | 775:1a68fc55a80c |
---|---|
1 local Luan = require "luan:Luan.luan" | |
2 local error = Luan.error | |
3 local values = Luan.values or error() | |
4 local Which_mod = require "luan:Which_mod.luan" | |
5 local which = Which_mod.which or error() | |
6 | |
7 for name in values(...) do | |
8 which(name) | |
9 end |