Skip to content

Instantly share code, notes, and snippets.

@rleonid
Last active December 5, 2016 19:04
Show Gist options
  • Select an option

  • Save rleonid/bc35b2dce12b57743528 to your computer and use it in GitHub Desktop.

Select an option

Save rleonid/bc35b2dce12b57743528 to your computer and use it in GitHub Desktop.
data
|> List.filter (fun (s,_,_) -> s = "HLA-A-3101")
|> List.map (fun (_,a,b) -> (a,b))
|> Array.of_list
|> (fun arr -> [|0;9;18;27;36|]
|> Array.map (fun s -> Array.sub arr s 9
|> Array.to_list
|> List.sort (fun (_,v1) (_,v2) -> compare v2 v1)
|> Array.of_list)
|> transpose)
@dylunnmoore2000
Copy link

Trying to find me a date an sex night

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment