Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2015
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let test_base: ('a, 'b, 'c) format = "GET&https%%3A%%2F%%2Fstream.twitter.com%%2F1.1%%2Fstatuses%%2Ffilter.json&oauth_consumer_key%%3Ddo944tkkUy4H6qJn49FVKpkQT%%26oauth_nonce%%3D%s%%26oauth_signature_method%%3DHMAC-SHA1%%26oauth_timestamp%%3D%s%%26oauth_token%%3D2649357145-b4gM74Eq8HaZ6W2ktPmTqjFXMvzAEhfKZ3mgfUT%%26oauth_version%%3D1.0%%26track%%3Dtwitter";;
  2.  
  3.  
  4. Error: This expression has type
  5.          (string -> string -> 'a, 'b, 'a) format =
  6.            (string -> string -> 'a, 'b, 'a, 'a, 'a, 'a) format6
  7.        but an expression was expected of type
  8.          (string -> float -> 'c, unit, string) format =
  9.            (string -> float -> 'c, unit, string, string, string, string)
  10.            format6
  11.        Type string is not compatible with type float
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement