[xmonad] YAML x config. files

Roy Lanek lanek at novenine.com
Fri Feb 6 01:13:20 EST 2009


> Functions. You can't encode Haskell functions in YAML.

You can't. But you could still *embed* them 1-1 ... as, e.g., in

- Functions:
  #########

  - Something:
    #########
    - function_a: |
                  Haskell_code \
                  Haskell_code

    - function_b: |
                  Haskell_code \
                  Haskell_code

  - Whatever:
    ########
    - function_a: |
                  Haskell_code \
                  Haskell_code

    - function_b: |
                  Haskell_code \
                  Haskell_code

should it be really necessary.

> However, if we ignore arbitrary computable functions, all the value
> level configuration could be YAML, or JSON, or Read/Show or ...

Yes, actually I was rather thinking at that, the level configuration stuff.
(Tabbing, *standard*-hooks, etc., this should come in the vanilla/default
repertoire already.)


/Roy
-- 
                                   ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
                                                                        #
          ,  (@@               @P                                       #
       @#@@    @  L, ,,     ,,,7F ,LL ,,,    ,,, ,L  ,   LLL ,,  ,L,    #
       #@&#    @  *@###@   ###@(@@@@* ##*    "*#,'#@###, ""#@##F#W"7@   #
         "@    @   @   7E #"  "(F  7@ @   #L    @ #F   @   #"   F ,,#
      @## #L   @   @    @ #    (F   # @   #L    @ #    #   #    @ #WW
  B   @   @   #@   #L,,@@ #L    "  ,# 7@@@@L@ ,#" 7@, ,@   #    #@@L
  #   7#@#*"##*@@@  *##*@M @@@    @@E @@@"#L###"   7##W#@  #    @,, at +
  #                                       #@               #@L  #"#*
  #
  #MMMMMMMMMM Slackware Linux MMMMMMMMMM


More information about the xmonad mailing list