nblockchain/fantomless

Remove unneeded parentheses in for loop

knocte opened this issue · 3 comments

let private GrabTheFirstStringBeforeTheFirstColon (lines: seq<string>) =
    seq {
        for line in (lines) do
            yield (line.Split([| ":" |], StringSplitOptions.RemoveEmptyEntries)).[0]
    }

should get the parens in (lines) removed.

@janus but this should not change:

let GrabTheFirstStringBeforeTheFirstColon () =
    seq {
        for line in (foo ()) do
            yield line
    }
janus commented

@janus but this should not change:

let GrabTheFirstStringBeforeTheFirstColon () =
    seq {
        for line in (foo ()) do
            yield line
    }

Alright.

Fixed in e28dcb9