Browse Source

Ported code from BFLib to BFLibCore.

Made name changes where appropriate.
master
Craig Oates 4 years ago
parent
commit
4c44fe0258
  1. 2
      BFLibCore/BFLibCore.fsproj
  2. 4
      BFLibCore/FunkyFishCore.fs
  3. 5
      BFLibCore/Library.fs
  4. 2
      BrittleFishCore/ConsoleCommands.fs

2
BFLibCore/BFLibCore.fsproj

@ -5,7 +5,7 @@
</PropertyGroup>
<ItemGroup>
<Compile Include="Library.fs" />
<Compile Include="FunkyFishCore.fs" />
</ItemGroup>
</Project>

4
BFLibCore/FunkyFishCore.fs

@ -0,0 +1,4 @@
module FunkyFishCore
let LibraryTest1 x y = x + y
let LibraryTest2 x y z = (x * y) * z
let LibraryTest3 name = "Hello " + name

5
BFLibCore/Library.fs

@ -1,5 +0,0 @@
namespace BFLibCore
module Say =
let hello name =
printfn "Hello %s" name

2
BrittleFishCore/ConsoleCommands.fs

@ -4,7 +4,7 @@
open System
open Console.Waterworks.Core
open Console.Waterworks.Core.Attributes
open FunkyFish // This is where the "LibraryTest" functions are -- in BFLib
open FunkyFishCore // This is where the "LibraryTest" functions are -- in BFLibCore
[<ListCommand>]
[<Description "Display a message to the console signifying the program is running as intended.">]

Loading…
Cancel
Save