mirror of
				https://github.com/gnh1201/welsonjs.git
				synced 2025-10-30 20:41:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			170 B
		
	
	
	
		
			ReasonML
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			170 B
		
	
	
	
		
			ReasonML
		
	
	
	
	
	
| let greet = (name) => "Hello " ++ name
 | |
| let add = (x, y, z) => x + y + z
 | |
| 
 | |
| let main = (args) => {
 | |
|   Js.log(greet("world!")) // "Hello world!"
 | |
|   Js.log(add(1, 2, 3)) // 6
 | |
| }
 |