This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open Devart.Data | |
open Devart.Data.Oracle // http://www.devart.com/dotconnect/oracle/download.html | |
open FSharp.Control // https://github.com/tpetricek/FSharp.AsyncExtensions | |
open System | |
open System.Data | |
let sql = "SELECT * FROM {}" | |
let tables = [|"t1";"t2";"t3";"t4";"t5";"t6"|] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open Devart.Data | |
open Devart.Data.Oracle // http://www.devart.com/dotconnect/oracle/download.html | |
open FSharp.Control // https://github.com/tpetricek/FSharp.AsyncExtensions | |
open System | |
open System.Data | |
let sql = "SELECT * FROM {}" | |
let tables = [|"t1";"t2";"t3";"t4";"t5";"t6"|] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait Generator[+T] { | |
self => | |
def generate: T | |
def map[S](f: T => S): Generator[S] = new Generator[S] { | |
def generate = f(self.generate) | |
} | |
def flatMap[S](f: T => Generator[S]): Generator[S] = new Generator[S] { |
NewerOlder