
On 10-11-10 02:51 PM, Albert Y. C. Lai wrote:
import SinisterlyNamedModule( Parsec@GoodType(State@CaseOne(stdin@gfa), Cont@CaseTwo(runST@gfb, fromList@gfc) ),
Sorry, that part was mistaken, and not in line with standard Haskell. Here is the correction, and more in line with standard Haskell: import SinisterlyNamedModule( Parsec@GoodType(State@CaseOne, Cont@CaseTwo, stdin@gfa, runST@gfb, fromList@gfc ), It also streamlines doing this. Assume SecondModule: module SecondModule where data Functor = Applicative { join :: String } | Category { join :: String, fix :: [Functor] } Then to import and rename: import SecondModule( Functor@Personnel(Applicative@Worker, Category@Supervisor, join@employee_name, fix@subordinates ) ) join is consistently renamed to employee_name, in particular.