help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Making file writable


From: John Soo
Subject: Making file writable
Date: Fri, 27 Nov 2020 12:19:53 -0800

      
  

  
  
  
Hey Tomás,  

  
Check your parens:
  

  
(for-each (make-file-writable (find-files "\\.yml$")))
  

  
Should be   
  

  
(for-each   make-file-writable (find-files "\\.yml$"))
  

  
That’s because for-each is a higher order function which takes a procedure and 
a list.
  

  
Good luck!
  

  
- John
  

  

  
  
  
>   
>   
>   
>   
>   
>     
>   
>     
>   
>     
>   
>     
>   
>     
>   
>     
>   
>     
>   
>     
>   
>     
>   
>     
>   
>     
>   
>     
>   
>     
>   
>     
>   
>               
  

  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]