Re : apply 
Author Message
 Re : apply

The following works fine :

---------begin------------

infixl 9 #

class Apply hom a b where
        (#) :: hom a b -> a -> b

instance Apply (->) a b where
        f # x = f x

---------end------------

? chr # 65
'A'
(3 reductions, 8 cells)



Fri, 23 Feb 1996 21:34:01 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Cannot apply become: to Number object

2. VWave 1.0 (VW 2.5 may apply)

3. New J feature to apply different verbs to array elements

4. Applying a file to another

5. OOPSLA Applied OO Workshops - Deadline extended

6. Applied Object Technology Workshops

7. US-IL Smalltalk/ODBMS Applied Research Position

8. Errors met when applying C55h patch

9. OOPSLA MId-Year Workshops in Applied OO Technology

10. Q: Applied Reasoning

11. Applied Object Technology in the Finance Industry

12. Final call-OOPSLA Applied Object Technology Conference

 

 
Powered by phpBB® Forum Software