Update examples
This commit is contained in:
		
							
								
								
									
										15
									
								
								testsuite/hier/hier1/Modules/Flags.hs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								testsuite/hier/hier1/Modules/Flags.hs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,15 @@ | ||||
| -- | ||||
| -- A simple module | ||||
| -- | ||||
|  | ||||
| module Modules.Flags where | ||||
|  | ||||
|  | ||||
| data FlagRec = FlagRec { | ||||
|         f1 :: Int, | ||||
|         f2 :: Int | ||||
| } | ||||
|  | ||||
|  | ||||
| foo :: FlagRec -> Int | ||||
| foo x = f1 x | ||||
		Reference in New Issue
	
	Block a user