我想转换此
builtins.readFile ../../dotfiles/vim/commands.vim + "\n" +
builtins.readFile ../../dotfiles/vim/keybindings.vim + "\n" +
builtins.readFile ../../dotfiles/vim/plugins.vim
进入更有活力的事物。这是我到目前为止所得到的。它评估为字符串列表。
map
( fileName: builtins.readFile ( ../../dotfiles/vim + "/${fileName}" )
( builtins.AttrNames ( builtins.readDir ../../dotfiles/vim ) )
答案 0 :(得分:0)
random_val = random.randint(1, 100)
。
lib.concatStrings