These are chat archives for Microsoft/visualfsharp

30th
Jun 2015
Jari Pennanen
@Ciantic
Jun 30 2015 12:05
@latkin except! If I create a type provider that reads the same file I'm writing at?
type provider that looks for "CREATE TABLE" inside the same Fsharp file I'm editing.
Vasily Kirichenko
@vasily-kirichenko
Jun 30 2015 12:28
@Ciantic FSharp.Data.SqlClient includes SqlProgrammability type provider which generates DataTable with a typed Add method. It's useful for bulk inserting.
It generates such a DataTable for each table, like let myTable = MyDb.dbo.MyTable(); myTable.Add(1, "foo", 1.34)
Jari Pennanen
@Ciantic
Jun 30 2015 12:31
Ideally I would like to have some sturdy implementation, something like Slick in Scala.
Unfortunately F# doesn't have libraries like Scala does, and unfortunately Scala has poorer tooling than F#. Decisions, decisions.
Steffen Forkmann
@forki
Jun 30 2015 13:15
cool didn't know about slick. that looks really pretty slick
Jon Wood
@jwood803
Jun 30 2015 13:15
I didn’t realize Scala has less tooling, though
Jari Pennanen
@Ciantic
Jun 30 2015 14:27
@jwood803 what I mean by that is it doesn't have culture of building compiler service, F# on the other hand is closely following C#, and probably has similar thing as Roslyn soon enough. I don't want to use Eclipse for next decade
Jon Wood
@jwood803
Jun 30 2015 14:28
I don’t blame you about Eclipse :p
Jari Pennanen
@Ciantic
Jun 30 2015 14:29
with Roslyn it's probably possible to make Notepad auto complete and refactor :p there is no such thing in Scala to my knowledge, or even effort
Steffen Forkmann
@forki
Jun 30 2015 14:33
Yep but that's only a small part of "tooling". And regarding refactoring: different languages need different amount of refactoring / refactoring support. Maybe scala folks don't think that's a super important feature and value things like akka, spark,... more
Jari Pennanen
@Ciantic
Jun 30 2015 14:37
I consider akka as a library, spark I just looked up and it's also a library
I think your sentence means what I meant, with tooling I basically meant IDE feature support, maybe I should've said that instead of tooling
Steffen Forkmann
@forki
Jun 30 2015 14:39
Yes a library that comes with tooling around it. Language + libs + community always need to work together to make a language productive
Yes IDE feat look pretty good with roslyn and always looked good with ReSharper for C#
Vasily Kirichenko
@vasily-kirichenko
Jun 30 2015 16:29
@forki Scala support in IDEA is far, far, FAR better than F# one in VS.
Steffen Forkmann
@forki
Jun 30 2015 16:34
Yep that's what I thought. And scala creates amazing libs.
Vasily Kirichenko
@vasily-kirichenko
Jun 30 2015 16:35
Yes.
But its syntax is not for me :)
It's a strange creature with strange communiny.
Jon Wood
@jwood803
Jun 30 2015 16:36
Strange community?
Vasily Kirichenko
@vasily-kirichenko
Jun 30 2015 16:36
both are very different to F#.
Yes.
akka akka akka akka akka.
spark spark spark
that's all
ah, scalaz. for heroes.
they just porting stuff from haskell all the time.
Jon Wood
@jwood803
Jun 30 2015 16:39
Oh, true…haskell seems to have quite a bit of libs
Steffen Forkmann
@forki
Jun 30 2015 16:48
That escalated quickly. I think we're pretty off-topic right now.
Sorry for starting this
Jon Wood
@jwood803
Jun 30 2015 16:50
It was interesting discussion :}
Vasily Kirichenko
@vasily-kirichenko
Jun 30 2015 17:03
:)
give me first class modules. give me macros. give me type classes (in that order) and I'll never leave F#.