我想翻转列表构造函数的用法,有类型: [a] -> a -> [a]
(用于折叠使用),所以尝试: (flip :)
,但它给人的类型: Prelude> :t (flip :)
(flip :) :: [(a -> b -> c) -> b -> a -> c] -> [(a -> b -> c) -> b -> a -> c]
这让我感到惊讶,但它似乎被解析为(:)的左侧部分,而
我发现a great example for custom configuration handler并试图用我自己的实现。 我已经建立了App.config中是这样的: <configSections>
<section name="DocumentationSettings" type="ConfigHandler.DocumentationSettings,Settings"/>