This file contains 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
fizzbuzz n | |
| mod n 15 == 0 = "FizzBuzz" | |
| mod n 5 == 0 = "Buzz" | |
| mod n 3 == 0 = "Fizz" | |
| otherwise = show n | |
main = print $ map fizzbuzz [1..100] |
This file contains 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
@echo off | |
if "%1" == "" goto end | |
msbuild /p:configuration=%1 %2 | |
:end |
This file contains 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
Index: lib/redmine/unified_diff.rb | |
=================================================================== | |
--- lib/redmine/unified_diff.rb (revision 4232) | |
+++ lib/redmine/unified_diff.rb (working copy) | |
@@ -38,9 +38,78 @@ | |
end | |
end | |
self << diff_table unless diff_table.empty? | |
+ | |
+ each do |table| |
This file contains 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
// Boost result_of library | |
// Copyright Douglas Gregor 2004. Use, modification and | |
// distribution is subject to the Boost Software License, Version | |
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at | |
// http://www.boost.org/LICENSE_1_0.txt) | |
// For more information, see http://www.boost.org/libs/utility | |
#if !defined(BOOST_PP_IS_ITERATING) | |
# error Boost result_of - do not include this file! |
This file contains 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
// Boost result_of library | |
// Copyright Douglas Gregor 2004. Use, modification and | |
// distribution is subject to the Boost Software License, Version | |
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at | |
// http://www.boost.org/LICENSE_1_0.txt) | |
// For more information, see http://www.boost.org/libs/utility | |
#ifndef BOOST_RESULT_OF_S_HPP | |
#define BOOST_RESULT_OF_S_HPP |
NewerOlder