19 lines
		
	
	
	
		
			317 B
		
	
	
	
		
			Haskell
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			317 B
		
	
	
	
		
			Haskell
		
	
	
	
	
	
| -- | "LibA" header
 | |
| {-# LANGUAGE CPP             #-}
 | |
| {-# LANGUAGE TemplateHaskell #-}
 | |
| 
 | |
| #include "header.h"
 | |
| 
 | |
| module LibA where
 | |
| 
 | |
| import LibA.A (a)
 | |
| import Deep (deep_lib)
 | |
| 
 | |
| -- | 'A' declaration.
 | |
| data A =
 | |
|   -- | 'A' constructor.
 | |
|   A
 | |
| 
 | |
| -- | Doc for 'f' using 'a' and 'deep_lib'.
 | |
| f :: Int
 | |
| f = const $a deep_lib + MAGIC_NUMBER
 |