unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: John Soo <jsoo1@asu.edu>
To: "Tomás Ortín Fernández" <tomasortin@mailbox.org>
Cc: Help-Guix <help-guix@gnu.org>
Subject: Making file writable
Date: Fri, 27 Nov 2020 12:19:53 -0800	[thread overview]
Message-ID: <fe032a10-bafe-47ab-8fdd-88e50da2611c@Johns-iPhone> (raw)

      
  

  
  
  
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	other threads:[~2020-11-27 20:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-27 20:19 John Soo [this message]
2020-11-27 21:12 ` Making file writable Tomás Ortín Fernández
2020-11-27 23:22   ` John Soo
  -- strict thread matches above, loose matches on Subject: below --
2020-11-27 18:53 Tomás Ortín Fernández
2020-11-27 18:18 Tomás Ortín Fernández

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fe032a10-bafe-47ab-8fdd-88e50da2611c@Johns-iPhone \
    --to=jsoo1@asu.edu \
    --cc=help-guix@gnu.org \
    --cc=tomasortin@mailbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).