Add Pretty class
This commit is contained in:
		
							parent
							
								
									2929bc7e92
								
							
						
					
					
						commit
						6ab1a2acba
					
				
							
								
								
									
										11
									
								
								src/Pretty.hs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								src/Pretty.hs
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,11 @@
 | 
			
		||||
{-# LANGUAGE NoImplicitPrelude #-}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
module Pretty where
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
import Protolude
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class Pretty a where
 | 
			
		||||
  pretty :: a -> Text
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user