summaryrefslogtreecommitdiff
path: root/doc/todo/bytes_in_privData__63__/comment_4_f34a8f82c7bce7224e4edc59410c741f._comment
blob: bd7a0618a0d6e5db97ada518a8ca63ac04a8b249 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[[!comment format=mdwn
 username="gueux"
 subject="comment 4"
 date="2015-04-23T09:21:07Z"
 content="""
I tried to do the conversion, but then it started a kind of chain reaction... (PrivData=ByteString to writeFileProtected to Line=ByteString to ... to readProcess to ...) Should I use FilePath=String? ... To be honest, the patch became a lot bigger that what I am comfortable with. :-)

I guess you should have a look at it...

At least, I think there is a type bug in Propellor.Property.File:

    hasPrivContent' :: (IsContext c, IsPrivDataSource s) => (String -> FilePath -> IO ()) -> s -> FilePath -> c -> Property HasInfo

but it should be

    hasPrivContent' :: (IsContext c, IsPrivDataSource s) => (FilePath -> String -> IO ()) -> s -> FilePath -> c -> Property HasInfo

(it is hidden by FilePath = String)
"""]]