Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let replace (str:string) =
- str.Replace("{0}", "\"\"\"")
- let code = replace """
- // comment
- // more comment
- [<assembly: System.AssemblyVersionAttribute("1.0.0.0")>]
- [<TestAttr; TestAttr2(Test.Version)>]
- module Test
- /* multiline comment
- here */
- let a = 5
- let fib n =
- let fib' n a b =
- match n with
- | 0 -> a
- | _ -> fib' (n - 1) b (a + b)
- fib' n
- let longStr = {0}this
- is a test{0}
- """
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement