9

I have the following in a .fs file:

namespace fsHoldem

module holdemPlayer

type Player()=
  ... etc...

and I'm trying to reference the type Player in another file. I've tried using open:

namespace fsHoldem

module BetStrategies

open fsHoldem.holdemPlayer       

but I'm getting the error "Namespace or module 'fsHoldem' is not defined."

Note that both .fs files share the same namespace, and both exist in the same project.

Ruben Bartelink
  • 59,778
  • 26
  • 187
  • 249
Marc Clifton
  • 756
  • 1
  • 11
  • 19

0 Answers0